configure.in: use RUBY_APPEND_OPTIONS
* configure.in: DLDFLAGS is defined in --with-opt-dir handler, so ${DLDFLAGS=} does not work now. use RUBY_APPEND_OPTIONS instead. [ruby-dev:47855] [Bug #9256] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
804151d199
commit
b0381a4b1f
@ -1,3 +1,9 @@
|
||||
Fri Dec 20 16:00:52 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* configure.in: DLDFLAGS is defined in --with-opt-dir handler, so
|
||||
${DLDFLAGS=} does not work now. use RUBY_APPEND_OPTIONS instead.
|
||||
[ruby-dev:47855] [Bug #9256]
|
||||
|
||||
Fri Dec 20 14:19:12 2013 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* configure.in (AC_ARG_WITH): use withval directly.
|
||||
|
@ -2667,7 +2667,10 @@ if test "$with_dln_a_out" != yes; then
|
||||
fi
|
||||
rb_cv_dlopen=yes],
|
||||
[darwin*], [ : ${LDSHARED='$(CC) -dynamic -bundle'}
|
||||
: ${DLDFLAGS="${linker_flag}-undefined${linker_flag:+,}dynamic_lookup ${linker_flag}-multiply_defined${linker_flag:+,}suppress"}
|
||||
RUBY_APPEND_OPTIONS(DLDFLAGS, [ \
|
||||
"${linker_flag}-undefined${linker_flag:+,}dynamic_lookup" \
|
||||
"${linker_flag}-multiply_defined${linker_flag:+,}suppress" \
|
||||
])
|
||||
: ${LDFLAGS=""}
|
||||
: ${LIBPATHENV=DYLD_LIBRARY_PATH}
|
||||
# /usr/local/include is always searched for
|
||||
|
Loading…
x
Reference in New Issue
Block a user