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

* configure.in: workaround to avoid MacOS X build error.

Maybe autoconf 2.61 is slightly buggy. [ruby-core:41316]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
kosaki 2011-11-27 04:30:44 +00:00
parent 5fa2d2b793
commit 0e28532a52
2 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Sun Nov 27 13:09:25 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* configure.in: workaround to avoid MacOS X build error.
Maybe autoconf 2.61 is slightly buggy. [ruby-core:41316]
Sun Nov 27 04:57:11 2011 NARUSE, Yui <naruse@ruby-lang.org>
* configure.in (--no-undefined): r33840 breaks FreeBSD and DragonFly

View file

@ -2271,7 +2271,10 @@ AS_CASE("$enable_shared", [yes], [
[freebsd*|dragonfly*], [],
[
if test "$GCC" = yes; then
RUBY_TRY_LDFLAGS([-Xlinker --no-undefined], RUBY_APPEND_OPTION(EXTLDFLAGS, [-Xlinker --no-undefined]))
RUBY_TRY_LDFLAGS([-Wl,--no-undefined], [no_undefined=yes], [no_undefined=no])
if test "no_undefined" = yes; then
RUBY_APPEND_OPTION(EXTLDFLAGS, [-Wl,--no-undefined])
fi
fi
])