diff options
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 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 |