Permalink
Browse files

Patch to facilitate building Ruby for a specific architecture on Snow…

… Leopard
  • Loading branch information...
Jason Roelofs authored and wayneeseguin committed Jun 25, 2010
1 parent 2c295a7 commit 5a1f76295268dad3d1e5fc43c10e87d6507da6cf
Showing with 13 additions and 0 deletions.
  1. +13 −0 patches/ruby/1.8.7/osx-arch-fix.patch
@@ -0,0 +1,13 @@
+diff --git a/Makefile.in b/Makefile.in
+index 656ae90..f976cf1 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -45,7 +45,7 @@ XLDFLAGS = @XLDFLAGS@ $(EXTLDFLAGS)
+ EXTLIBS =
+ LIBS = @LIBS@ $(EXTLIBS)
+ MISSING = @LIBOBJS@ @ALLOCA@
+-LDSHARED = @LIBRUBY_LDSHARED@
++LDSHARED = @LIBRUBY_LDSHARED@ $(LDFLAGS)
+ DLDFLAGS = @LIBRUBY_DLDFLAGS@ $(EXTLDFLAGS) @ARCH_FLAG@
+ SOLIBS = @SOLIBS@
+ MAINLIBS = @MAINLIBS@

0 comments on commit 5a1f762

Please sign in to comment.