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 | 1354ff60cd96c4c6b9b9d9ef4ba23a6f538453ad (patch) | |
tree | a38b21c4606edff089f8f7cca0ab1fcfada7d861 /ext | |
parent | e85a18e8e09364c9516d08feb913c33e4cfcb19d (diff) | |
download | ruby-1354ff60cd96c4c6b9b9d9ef4ba23a6f538453ad.tar.gz ruby-1354ff60cd96c4c6b9b9d9ef4ba23a6f538453ad.tar.xz ruby-1354ff60cd96c4c6b9b9d9ef4ba23a6f538453ad.zip |
* ext/extmk.rb.in: ignore adding -Wl,-R to DLDFLAGS when the directory
is $topdir.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@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 534fe36c6..0652ac2e0 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 |