diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-12-07 06:52:31 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-12-07 06:52:31 +0000 |
commit | 15a67d6a2f3c194d9ea3abb9d30a8735fb12556f (patch) | |
tree | 08d1c3904139f75c1abd4461b4b502c01e370c96 /ext | |
parent | 649dc6eaaba5c68e3ddda7f9d37b2a9006cb2093 (diff) |
* ext/extmk.rb.in: ignore adding -Wl,-R to DLDFLAGS when the directory
is $topdir.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r-- | ext/extmk.rb.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/extmk.rb.in b/ext/extmk.rb.in index d63cf0f904..22b1cf8e9e 100644 --- a/ext/extmk.rb.in +++ b/ext/extmk.rb.in @@ -398,7 +398,7 @@ def create_makefile(target) else $LIBPATH.each {|d| $DLDFLAGS << " -L" << d} if /netbsdelf/ =~ RUBY_PLATFORM - $LIBPATH.each {|d| $DLDFLAGS << " -Wl,-R" + d} + $LIBPATH.each {|d| $DLDFLAGS << " -Wl,-R" + d unless d == $topdir} end end |