summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--configure.in5
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 748026dc16..9913eacb60 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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])