summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2019-07-03 08:29:33 +0200
committerFabian Groffen <grobian@gentoo.org>2019-07-03 08:30:33 +0200
commit48a6d599a4406835d85b7d13cab3936c870706b9 (patch)
tree74b9d76ac58e66221cef5bcb3034abe06fbef4f8 /dev-lang/ruby/files/2.4/005_no-undefined-ext.patch
parentscripts/bootstrap-prefix: bump bootstrap portage (diff)
downloadprefix-48a6d599a4406835d85b7d13cab3936c870706b9.tar.gz
prefix-48a6d599a4406835d85b7d13cab3936c870706b9.tar.bz2
prefix-48a6d599a4406835d85b7d13cab3936c870706b9.zip
dev-lang/ruby: sync
Package-Manager: Portage-2.3.68-prefix, Repoman-2.3.15 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'dev-lang/ruby/files/2.4/005_no-undefined-ext.patch')
-rw-r--r--dev-lang/ruby/files/2.4/005_no-undefined-ext.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-lang/ruby/files/2.4/005_no-undefined-ext.patch b/dev-lang/ruby/files/2.4/005_no-undefined-ext.patch
new file mode 100644
index 0000000000..f279932401
--- /dev/null
+++ b/dev-lang/ruby/files/2.4/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'}