summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <hans@degraaff.org>2018-02-16 15:39:41 +0100
committerHans de Graaff <hans@degraaff.org>2018-02-16 15:39:41 +0100
commit8161c1cf0cd986cfefdda9e5ef0d8752a33c9d30 (patch)
treef4cf0261599e60b69fac435ae27e87f925499406 /patchsets/patches-2.5.0/005_no-undefined-ext.patch
parentupdate stats scripts for ruby25 (diff)
downloadruby-scripts-8161c1cf0cd986cfefdda9e5ef0d8752a33c9d30.tar.gz
ruby-scripts-8161c1cf0cd986cfefdda9e5ef0d8752a33c9d30.tar.bz2
ruby-scripts-8161c1cf0cd986cfefdda9e5ef0d8752a33c9d30.zip
add patchset for 2.5.0
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.patch11
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'}