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
commit15a67d6a2f3c194d9ea3abb9d30a8735fb12556f (patch)
tree08d1c3904139f75c1abd4461b4b502c01e370c96 /ext/extmk.rb.in
parent649dc6eaaba5c68e3ddda7f9d37b2a9006cb2093 (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/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 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