summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-12-16 08:29:59 +0100
committerHans de Graaff <graaff@gentoo.org>2018-12-26 08:11:06 +0100
commit829981fed21aca49b162fac276b15a937a99bdce (patch)
tree82d2e65d8e125c47f75e67bf100fa8c59c644f0e /dev-lang/ruby/files/2.6/005_no-undefined-ext.patch
parentsys-apps/systemd: bump to 240 (diff)
downloadgentoo-829981fed21aca49b162fac276b15a937a99bdce.tar.gz
gentoo-829981fed21aca49b162fac276b15a937a99bdce.tar.bz2
gentoo-829981fed21aca49b162fac276b15a937a99bdce.zip
dev-lang/ruby: add ruby 2.6
Signed-off-by: Hans de Graaff <graaff@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'dev-lang/ruby/files/2.6/005_no-undefined-ext.patch')
-rw-r--r--dev-lang/ruby/files/2.6/005_no-undefined-ext.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-lang/ruby/files/2.6/005_no-undefined-ext.patch b/dev-lang/ruby/files/2.6/005_no-undefined-ext.patch
new file mode 100644
index 000000000000..1f0fdda08da5
--- /dev/null
+++ b/dev-lang/ruby/files/2.6/005_no-undefined-ext.patch
@@ -0,0 +1,11 @@
+--- a/configure.ac.~1~ 2017-12-15 10:43:40.000000000 +0100
++++ b/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'}