1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* configure.in: define linker for shared library on MirOS BSD.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2013-02-07 13:02:31 +00:00
parent ba7a0b4643
commit 8f5f89452d
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Thu Feb 7 22:01:18 2013 Tanaka Akira <akr@fsij.org>
* configure.in: define linker for shared library on MirOS BSD.
Thu Feb 7 21:09:23 2013 NAKAMURA Usaku <usa@ruby-lang.org>
* test/rubygems/test_gem_config_file.rb

View file

@ -2268,7 +2268,7 @@ if test "$with_dln_a_out" != yes; then
test "$GCC" = yes && test "$rb_cv_prog_gnu_ld" = yes || LDSHARED='$(LD) -Bshareable'
fi
rb_cv_dlopen=yes],
[openbsd*], [ : ${LDSHARED='$(CC) -shared ${CCDLFLAGS}'}
[openbsd*|mirbsd*], [ : ${LDSHARED='$(CC) -shared ${CCDLFLAGS}'}
if test "$rb_cv_binary_elf" = yes; then
LDFLAGS="$LDFLAGS -Wl,-E"
fi