diff options
author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-12-03 10:11:03 +0000 |
---|---|---|
committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-12-03 10:11:03 +0000 |
commit | 9cef451b7c6ad863e37afde69855c501dcf422b5 (patch) | |
tree | 3d87190613e340e44ef3fb453f0bf74c352f3493 /configure.in | |
parent | 553634322c31c4f3bd18b77c83e22426e6976b14 (diff) |
* configure.in: add -Wl,-export-dynamic on NetBSD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1881 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 964c8dee76..060e5f6d1e 100644 --- a/configure.in +++ b/configure.in @@ -552,7 +552,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 ;; |