summaryrefslogtreecommitdiff
path: root/ext/extmk.rb.in
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-12-07 06:52:31 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-12-07 06:52:31 +0000
commit4ed1344bd7a2527e54002e4ecb59833b99f30b43 (patch)
treea38b21c4606edff089f8f7cca0ab1fcfada7d861 /ext/extmk.rb.in
parent22d2d65d6f3133999673e0f52aeb234e07bdf41d (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/trunk@1887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/extmk.rb.in')
-rw-r--r--ext/extmk.rb.in2
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