mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* configure.in: use rb_cv_prog_gnu_ld on FreeBSD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
5c57848093
commit
396c29d195
1 changed files with 2 additions and 2 deletions
|
@ -741,7 +741,7 @@ if test "$with_dln_a_out" != yes; then
|
|||
rb_cv_dlopen=yes;;
|
||||
solaris*) if test "$GCC" = yes; then
|
||||
LDSHARED='$(CC) -Wl,-G'
|
||||
if test $rb_cv_prog_gnu_ld = yes; then
|
||||
if test "$rb_cv_prog_gnu_ld" = yes; then
|
||||
LDFLAGS="-Wl,-E"
|
||||
LDSHARED="$LDSHARED -shared"
|
||||
fi
|
||||
|
@ -771,7 +771,7 @@ if test "$with_dln_a_out" != yes; then
|
|||
LDFLAGS="-rdynamic"
|
||||
DLDFLAGS='-Wl,-soname,$(.TARGET)'
|
||||
else
|
||||
test "$GCC" = yes && `$CC --print-prog-name=ld` -v 2>&1 | grep "GNU ld" > /dev/null || LDSHARED="ld -Bshareable"
|
||||
test "$GCC" = yes && test "$rb_cv_prog_gnu_ld" = yes || LDSHARED="ld -Bshareable"
|
||||
fi
|
||||
rb_cv_dlopen=yes ;;
|
||||
netbsd*) LDSHARED='${CC} -shared'
|
||||
|
|
Loading…
Reference in a new issue