diff options
Diffstat (limited to 'patchsets/patches-1.8.7_p357/007_no-undefined-ext.patch')
-rw-r--r-- | patchsets/patches-1.8.7_p357/007_no-undefined-ext.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/patchsets/patches-1.8.7_p357/007_no-undefined-ext.patch b/patchsets/patches-1.8.7_p357/007_no-undefined-ext.patch new file mode 100644 index 0000000..41a7ddb --- /dev/null +++ b/patchsets/patches-1.8.7_p357/007_no-undefined-ext.patch @@ -0,0 +1,13 @@ +Index: ruby-1.8.7-p299/configure.in +=================================================================== +--- ruby-1.8.7-p299.orig/configure.in ++++ ruby-1.8.7-p299/configure.in +@@ -1223,7 +1223,7 @@ if test "$with_dln_a_out" != yes; then + linux* | gnu* | k*bsd*-gnu | netbsd* | bsdi*) + : ${LDSHARED='${CC} -shared'} + if test "$rb_cv_binary_elf" = yes; then +- LDFLAGS="$LDFLAGS -Wl,-export-dynamic" ++ LDFLAGS="$LDFLAGS -Wl,-export-dynamic -Wl,--no-undefined" + fi + rb_cv_dlopen=yes ;; + interix*) : ${LDSHARED="$CC -shared"} |