mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
22d2d65d6f
commit
4ed1344bd7
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Fri Dec 7 15:49:39 2001 Usaku Nakamura <usa@ruby-lang.org>
|
||||
|
||||
* ext/extmk.rb.in: ignore adding -Wl,-R to DLDFLAGS when the directory
|
||||
is $topdir.
|
||||
|
||||
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.
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue