mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
use argument only if it is absolute path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
de292258b9
commit
68b3cd3ea2
1 changed files with 2 additions and 2 deletions
|
@ -33,8 +33,8 @@ when /bsd|dragonfly/
|
|||
libc_so = "/usr/lib/libc.so"
|
||||
libm_so = "/usr/lib/libm.so"
|
||||
else
|
||||
libc_so = ARGV[0]
|
||||
libm_so = ARGV[1]
|
||||
libc_so = ARGV[0] if ARGV[0] && ARGV[0][0] == ?/
|
||||
libm_so = ARGV[1] if ARGV[1] && ARGV[1][0] == ?/
|
||||
if( !(libc_so && libm_so) )
|
||||
$stderr.puts("libc and libm not found: #{$0} <libc> <libm>")
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue