* 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:
parent
5fa2d2b793
commit
0e28532a52
@ -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>
|
Sun Nov 27 04:57:11 2011 NARUSE, Yui <naruse@ruby-lang.org>
|
||||||
|
|
||||||
* configure.in (--no-undefined): r33840 breaks FreeBSD and DragonFly
|
* configure.in (--no-undefined): r33840 breaks FreeBSD and DragonFly
|
||||||
|
@ -2271,7 +2271,10 @@ AS_CASE("$enable_shared", [yes], [
|
|||||||
[freebsd*|dragonfly*], [],
|
[freebsd*|dragonfly*], [],
|
||||||
[
|
[
|
||||||
if test "$GCC" = yes; then
|
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
|
fi
|
||||||
])
|
])
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user