From 4ed1344bd7a2527e54002e4ecb59833b99f30b43 Mon Sep 17 00:00:00 2001 From: usa Date: Fri, 7 Dec 2001 06:52:31 +0000 Subject: * 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 --- ext/extmk.rb.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/extmk.rb.in') 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 -- cgit v1.2.3