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 | 4ed1344bd7a2527e54002e4ecb59833b99f30b43 (patch) | |
tree | a38b21c4606edff089f8f7cca0ab1fcfada7d861 /ext/extmk.rb.in | |
parent | 22d2d65d6f3133999673e0f52aeb234e07bdf41d (diff) | |
download | ruby-4ed1344bd7a2527e54002e4ecb59833b99f30b43.tar.gz |
* 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/trunk@1887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/extmk.rb.in')
-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 534fe36c69..0652ac2e0b 100644 --- a/ext/extmk.rb.in +++ b/ext/extmk.rb.in @@ -402,7 +402,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 |