1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ext/extmk.rb.in: add -Wl,-R flags to DLDFLAGS on netbsdelf.

* lib/mkmf.rb: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2001-12-06 09:55:31 +00:00
parent e0ed1214e4
commit 22d2d65d6f
3 changed files with 12 additions and 0 deletions

View file

@ -1,3 +1,9 @@
Thu Dec 6 18:52:28 2001 Usaku Nakamura <usa@ruby-lang.org>
* ext/extmk.rb.in: add -Wl,-R flags to DLDFLAGS on netbsdelf.
* lib/mkmf.rb: ditto.
Mon Dec 3 16:06:57 2001 WATANABE Hirofumi <eban@ruby-lang.org>
* ext/socket/extconf.rb: remove -L/usr/local/lib.

View file

@ -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

View file

@ -403,6 +403,9 @@ def create_makefile(target, srcdir = File.dirname($0))
libpath = $LIBPATH.join(';')
else
$LIBPATH.each {|d| $DLDFLAGS << " -L" << d}
if /netbsdelf/ =~ RUBY_PLATFORM
$LIBPATH.each {|d| $DLDFLAGS << " -Wl,-R" + d}
end
end
drive = File::PATH_SEPARATOR == ';' ? /\A\w:/ : /\A/