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

* configure.in (LIBRUBY_DLDFLAGS): fix quoting.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2010-09-25 13:48:42 +00:00
parent bab83d2628
commit d3a8adc0de
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,7 @@
Sat Sep 25 22:48:30 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* configure.in (LIBRUBY_DLDFLAGS): fix quoting.
Sat Sep 25 10:30:37 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* configure.in (LIBRUBY_DLDFLAGS): use -unexported_symbol only

View file

@ -422,7 +422,7 @@ AC_DEFUN(RUBY_TRY_CFLAGS, [
AC_DEFUN(RUBY_TRY_LDFLAGS, [
save_LDFLAGS="$LDFLAGS"
LDFLAGS="[$]LDFLAGS $1"
AC_MSG_CHECKING([whether ]$1[ is accepted])
AC_MSG_CHECKING([whether $1 is accepted])
RUBY_WERROR_FLAG([
AC_TRY_LINK([$4], [$5],
[$2
@ -450,7 +450,7 @@ if test "$GCC" = yes; then
if test "$visibility_option" = yes; then
RUBY_APPEND_OPTION(XCFLAGS, -fvisibility=hidden)
else
RUBY_TRY_LDFLAGS(['-Wl,-unexported_symbol,_Init_*'], [visibility_option=ld], [visibility_option=no])
RUBY_TRY_LDFLAGS([-Wl,-unexported_symbol,_Init_*], [visibility_option=ld], [visibility_option=no])
fi
test "$visibility_option" = no || OBJCOPY=:
fi