summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/extmk.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/extmk.rb b/ext/extmk.rb
index a0e848cfe9..876433d280 100644
--- a/ext/extmk.rb
+++ b/ext/extmk.rb
@@ -42,7 +42,7 @@ def extmake(target)
init_mkmf
if /linux/ =~ RUBY_PLATFORM and $configure_args['--enable-shared'] and CONFIG["GNU_LD"] == "yes"
- $DLDFLAGS << " -Wl,-no-undefined"
+ $DLDFLAGS << " -Wl,--no-undefined"
end
begin