mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
96e32bdc19
PR: 234509 235826 Submitted by: pete@nomadlogic.org (initial revision) Yasuhiro KIMURA <yasu@utahime.org> (initial revision) meta (myself, minor modifications) Relnotes:: https://www.ruby-lang.org/en/news/2018/12/25/ruby-2-6-0-released/ https://www.ruby-lang.org/en/news/2019/01/30/ruby-2-6-1-released/ https://www.ruby-lang.org/en/news/2019/03/13/ruby-2-6-2-released/ https://www.ruby-lang.org/en/news/2019/04/17/ruby-2-6-3-released/ Differential Revision: https://reviews.freebsd.org/D19961
20 lines
799 B
Plaintext
20 lines
799 B
Plaintext
--- configure.ac.orig 2018-12-28 12:03:09 UTC
|
|
+++ configure.ac
|
|
@@ -2678,7 +2678,7 @@ AS_IF([test "$with_dln_a_out" != yes], [
|
|
: ${LDSHARED='$(CC) -shared'}
|
|
AS_IF([test "$rb_cv_binary_elf" = yes], [
|
|
LDFLAGS="$LDFLAGS -rdynamic"
|
|
- DLDFLAGS="$DLDFLAGS "'-Wl,-soname,$@'
|
|
+ DLDFLAGS="$DLDFLAGS "'-Wl,-E'
|
|
], [
|
|
test "$GCC" = yes && test "$rb_cv_prog_gnu_ld" = yes || LDSHARED='$(LD) -Bshareable'
|
|
])
|
|
@@ -3163,6 +3163,7 @@ AS_CASE("$enable_shared", [yes], [
|
|
[freebsd*|dragonfly*], [
|
|
LIBRUBY_SO='lib$(RUBY_SO_NAME).$(SOEXT).$(MAJOR)$(MINOR)'
|
|
LIBRUBY_SONAME='$(LIBRUBY_SO)'
|
|
+ RUBY_APPEND_OPTIONS(LIBRUBY_DLDFLAGS, ['-Wl,-soname,${LIBRUBY_SO}'])
|
|
AS_IF([test "$rb_cv_binary_elf" != "yes" ], [
|
|
LIBRUBY_SO="$LIBRUBY_SO.\$(TEENY)"
|
|
LIBRUBY_ALIASES=''
|