ruby/ruby-1.8.5_linkerflags.patch

17 lines
566 B
Diff

Index: configure.in
===================================================================
--- configure.in.orig
+++ configure.in
@@ -1339,9 +1339,9 @@
fi
if test "$enable_rpath" = yes; then
if test "$GCC" = yes; then
- LIBRUBYARG_SHARED='-Wl,-R -Wl,$(libdir) -L$(libdir) -L. '"$LIBRUBYARG_SHARED"
+ LIBRUBYARG_SHARED='-Wl,-R -Wl,$(libdir) -L$(libdir) '"$LIBRUBYARG_SHARED"
else
- LIBRUBYARG_SHARED='-R $(libdir) -L$(libdir) -L. '"$LIBRUBYARG_SHARED"
+ LIBRUBYARG_SHARED='-R $(libdir) -L$(libdir) '"$LIBRUBYARG_SHARED"
fi
fi