diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | configure.in | 5 |
2 files changed, 8 insertions, 2 deletions
@@ -1,3 +1,8 @@ +Sun Mar 16 13:21:40 2014 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * configure.in (DLDFLAGS): insert a space between option and its + argument for non-GCC compilers. [ruby-core:61429] [Bug #9624] + Sun Mar 16 08:05:06 2014 Eric Wong <e@80x24.org> * gc.c (objspace_xcalloc): fix GC accounting diff --git a/configure.in b/configure.in index f4a5cc2ca0..d13ba035dc 100644 --- a/configure.in +++ b/configure.in @@ -2772,9 +2772,10 @@ if test "$with_dln_a_out" != yes; then AS_CASE(["$target_os"], [darwin*], [ for flag in \ - "${linker_flag}-undefined${linker_flag:+,}dynamic_lookup" \ - "${linker_flag}-multiply_defined${linker_flag:+,}suppress" \ + "-undefined dynamic_lookup" \ + "-multiply_defined suppress" \ ; do + test "x${linker_flag}" = x || flag="${linker_flag}${flag// /,}" RUBY_TRY_LDFLAGS([$flag], [], [flag=]) if test "x$flag" != x; then RUBY_APPEND_OPTIONS(DLDFLAGS, [$flag]) |