diff options
Diffstat (limited to 'patchsets/patches-2.5.0/005_no-undefined-ext.patch')
-rw-r--r-- | patchsets/patches-2.5.0/005_no-undefined-ext.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/patchsets/patches-2.5.0/005_no-undefined-ext.patch b/patchsets/patches-2.5.0/005_no-undefined-ext.patch new file mode 100644 index 0000000..a6e1ebb --- /dev/null +++ b/patchsets/patches-2.5.0/005_no-undefined-ext.patch @@ -0,0 +1,11 @@ +--- configure.ac.~1~ 2017-12-15 10:43:40.000000000 +0100 ++++ configure.ac 2017-12-25 11:02:19.099076831 +0100 +@@ -3233,7 +3233,7 @@ + [linux* | gnu* | k*bsd*-gnu | netbsd* | bsdi* | kopensolaris*-gnu | haiku*], [ + : ${LDSHARED='$(CC) -shared'} + AS_IF([test "$rb_cv_binary_elf" = yes], [ +- LDFLAGS="$LDFLAGS -Wl,-export-dynamic" ++ LDFLAGS="$LDFLAGS -Wl,-export-dynamic -Wl,--no-undefined" + ]) + rb_cv_dlopen=yes], + [interix*], [ : ${LDSHARED='$(CC) -shared'} |