mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* configure.in: add -Wl,-export-dynamic on NetBSD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f4bef0acfd
commit
9e8553e5cc
2 changed files with 5 additions and 1 deletions
|
@ -2,6 +2,8 @@ Mon Dec 3 16:06:57 2001 WATANABE Hirofumi <eban@ruby-lang.org>
|
|||
|
||||
* ext/socket/extconf.rb: remove -L/usr/local/lib.
|
||||
|
||||
* configure.in: add -Wl,-export-dynamic on NetBSD.
|
||||
|
||||
Mon Dec 3 16:04:16 2001 Usaku Nakamura <usa@ruby-lang.org>
|
||||
|
||||
* configure.in: not use X11BASE, since it's not always set.
|
||||
|
|
|
@ -607,7 +607,9 @@ if test "$with_dln_a_out" != yes; then
|
|||
fi
|
||||
rb_cv_dlopen=yes ;;
|
||||
netbsd*) LDSHARED='${CC} -shared'
|
||||
LDFLAGS=""
|
||||
if test "$rb_cv_binary_elf" = yes; then
|
||||
LDFLAGS="-Wl,-export-dynamic"
|
||||
fi
|
||||
rb_cv_dlopen=yes ;;
|
||||
openbsd*) LDSHARED="ld -Bforcearchive -Bshareable"
|
||||
rb_cv_dlopen=yes ;;
|
||||
|
|
Loading…
Reference in a new issue