summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-08-02 06:14:53 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-08-02 06:14:53 +0000
commit1038c25a097516cdcfcda408945848c982497325 (patch)
tree72743dcf09ae3d58d71227a33e0c49f1133b1b83
parent63f5a7164bd906beebef677004dbd0722d0462cc (diff)
* ext/extmk.rb (--no-undefined): annoying option removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--ext/extmk.rb11
2 files changed, 4 insertions, 11 deletions
diff --git a/ChangeLog b/ChangeLog
index 2fcfd65abc..432140caf9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Sat Aug 2 15:11:54 2003 WATANABE Hirofumi <eban@ruby-lang.org>
+
+ * ext/extmk.rb (--no-undefined): annoying option removed.
+
Sat Aug 2 14:53:55 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/mkmf.rb (pkg_config): get configuration by pkg-config. [new]
diff --git a/ext/extmk.rb b/ext/extmk.rb
index 3a6d499557..68274efde6 100644
--- a/ext/extmk.rb
+++ b/ext/extmk.rb
@@ -10,7 +10,6 @@ $extinit = nil
$extobjs = nil
$ignore = nil
$message = nil
-$use_no_undef = nil
$progname = $0
alias $PROGRAM_NAME $0
@@ -34,12 +33,6 @@ $topdir = File.expand_path(".")
$top_srcdir = srcdir
$hdrdir = $top_srcdir
-if not $use_no_undef and /linux/ =~ RUBY_PLATFORM and
- $configure_args['--enable-shared'] and
- CONFIG["GNU_LD"] == "yes"
- $use_no_undef = 0 <= (`ld -v`.scan(/\d+/).map{|x| x.to_i} <=> [2, 11])
-end
-
def sysquote(x)
@quote ||= /human|os2|macos/ =~ (CROSS_COMPILING || RUBY_PLATFORM)
@quote ? x.quote : x
@@ -60,10 +53,6 @@ def extmake(target)
init_mkmf
- if $use_no_undef
- $DLDFLAGS << " -Wl,--no-undefined"
- end
-
begin
dir = Dir.pwd
File.mkpath target unless File.directory?(target)