summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--ext/extmk.rb.in2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 23d8a19495..c380ecd8d1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Wed Dec 11 23:35:43 2002 WATANABE Hirofumi <eban@ruby-lang.org>
+
+ * ext/extmk.rb.in (create_makefile): -no-undefined -> --no-undefined.
+
Wed Dec 11 20:48:03 2002 Akinori MUSHA <knu@iDaemons.org>
* lib/getoptlong.rb (GetoptLong::Error): provide a common ancestor
diff --git a/ext/extmk.rb.in b/ext/extmk.rb.in
index dceed036ab..53209fcccc 100644
--- a/ext/extmk.rb.in
+++ b/ext/extmk.rb.in
@@ -378,7 +378,7 @@ def create_makefile(target)
$DLDFLAGS = '@DLDFLAGS@'
if /linux/ =~ RUBY_PLATFORM and $configure_args['--enable-shared'] and "@GNU_LD@" == "yes"
- $DLDFLAGS << " -Wl,-no-undefined"
+ $DLDFLAGS << " -Wl,--no-undefined"
end
if $configure_args['--enable-shared'] or "@LIBRUBY@" != "@LIBRUBY_A@"