diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in index e685913c33..5678e6da00 100644 --- a/configure.in +++ b/configure.in @@ -2346,9 +2346,9 @@ AS_CASE("$enable_shared", [yes], [ [freebsd*|dragonfly*], [], [ if test "$GCC" = yes; then - RUBY_TRY_LDFLAGS([-Wl,--no-undefined], [no_undefined=yes], [no_undefined=no]) + RUBY_TRY_LDFLAGS([${linker_flag}--no-undefined], [no_undefined=yes], [no_undefined=no]) if test "no_undefined" = yes; then - RUBY_APPEND_OPTION(EXTLDFLAGS, [-Wl,--no-undefined]) + RUBY_APPEND_OPTION(EXTLDFLAGS, [${linker_flag}--no-undefined]) fi fi ]) |