diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | configure.in | 5 |
2 files changed, 10 insertions, 1 deletions
@@ -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. diff --git a/configure.in b/configure.in index f5b1977c06..ea14b941ed 100644 --- a/configure.in +++ b/configure.in @@ -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 |