diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-03-16 04:21:48 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-03-16 04:21:48 +0000 |
commit | a1bb379726ec7318251504ca9d6256a5baf408da (patch) | |
tree | d3dd31d016d9fd699800dfa2b06a52036a7b92d7 /configure.in | |
parent | f5c2e89cd44a27b2391f94cb1b9cad74b9be692d (diff) | |
download | ruby-a1bb379726ec7318251504ca9d6256a5baf408da.tar.gz |
configure.in: insert a space for non-GCC
* configure.in (DLDFLAGS): insert a space between option and its
argument for non-GCC compilers. [ruby-core:61429] [Bug #9624]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 5 |
1 files changed, 3 insertions, 2 deletions
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]) |