diff options
| author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-12-06 09:55:31 +0000 |
|---|---|---|
| committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-12-06 09:55:31 +0000 |
| commit | e85a18e8e09364c9516d08feb913c33e4cfcb19d (patch) | |
| tree | cb8e662bff3b424a4f8be8529773d4bbdb88dff7 /ext | |
| parent | ab0191a27143e1b4c343eb7beaccca40d0341c4d (diff) | |
| download | ruby-e85a18e8e09364c9516d08feb913c33e4cfcb19d.tar.gz ruby-e85a18e8e09364c9516d08feb913c33e4cfcb19d.tar.xz ruby-e85a18e8e09364c9516d08feb913c33e4cfcb19d.zip | |
* ext/extmk.rb.in: add -Wl,-R flags to DLDFLAGS on netbsdelf.
* lib/mkmf.rb: ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
| -rw-r--r-- | ext/extmk.rb.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/extmk.rb.in b/ext/extmk.rb.in index be1c20fd5..534fe36c6 100644 --- a/ext/extmk.rb.in +++ b/ext/extmk.rb.in @@ -401,6 +401,9 @@ def create_makefile(target) libpath = $LIBPATH.join(';') else $LIBPATH.each {|d| $DLDFLAGS << " -L" << d} + if /netbsdelf/ =~ RUBY_PLATFORM + $LIBPATH.each {|d| $DLDFLAGS << " -Wl,-R" + d} + end end $srcdir = $top_srcdir + "/ext/" + $mdir |
