diff options
author | 2015-04-14 07:10:50 +0200 | |
---|---|---|
committer | 2015-04-14 07:10:50 +0200 | |
commit | 75f4122bb507b8f309770fc12db15b05df3637b9 (patch) | |
tree | 2e1cb65c78a927e2d8566d06a33973e0920f870d /patchsets/patches-2.2.2/005_no-undefined-ext.patch | |
parent | Updates patches for ruby 2.2.1 (diff) | |
download | ruby-scripts-75f4122bb507b8f309770fc12db15b05df3637b9.tar.gz ruby-scripts-75f4122bb507b8f309770fc12db15b05df3637b9.tar.bz2 ruby-scripts-75f4122bb507b8f309770fc12db15b05df3637b9.zip |
Updated patchset for ruby 2.2.2.
Diffstat (limited to 'patchsets/patches-2.2.2/005_no-undefined-ext.patch')
-rw-r--r-- | patchsets/patches-2.2.2/005_no-undefined-ext.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/patchsets/patches-2.2.2/005_no-undefined-ext.patch b/patchsets/patches-2.2.2/005_no-undefined-ext.patch new file mode 100644 index 0000000..f279932 --- /dev/null +++ b/patchsets/patches-2.2.2/005_no-undefined-ext.patch @@ -0,0 +1,11 @@ +--- ruby-1.9.3-preview1.orig/configure.in ++++ ruby-1.9.3-preview1/configure.in +@@ -2038,7 +2038,7 @@ if test "$with_dln_a_out" != yes; then + [linux* | gnu* | k*bsd*-gnu | netbsd* | bsdi* | kopensolaris*-gnu], [ + : ${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'} |