Skip to content

Commit

Permalink
Patch to facilitate building Ruby for a specific architecture on Snow…
Browse files Browse the repository at this point in the history
… Leopard
  • Loading branch information
Jason Roelofs authored and wayneeseguin committed Jun 25, 2010
1 parent 2c295a7 commit 5a1f762
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions 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.