diff options
| author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-12-03 09:38:35 +0000 |
|---|---|---|
| committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-12-03 09:38:35 +0000 |
| commit | 70cd53a227e8c276ef53ebdff94c9f0f4e13497a (patch) | |
| tree | 0fed6e1d95eac90a876d3cc528bfc9792f169fc0 /configure.in | |
| parent | 59245bef35c4b46dd7e83bf59c0ae2883273d6bc (diff) | |
| download | ruby-70cd53a227e8c276ef53ebdff94c9f0f4e13497a.tar.gz ruby-70cd53a227e8c276ef53ebdff94c9f0f4e13497a.tar.xz ruby-70cd53a227e8c276ef53ebdff94c9f0f4e13497a.zip | |
* configure.in: add -Wl,-export-dynamic on NetBSD.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'configure.in')
| -rw-r--r-- | configure.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 0ea72b10c..4bba1828c 100644 --- a/configure.in +++ b/configure.in @@ -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 ;; |
