mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
pattern refined for ldd on OpenBSD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
867cd89920
commit
0ff55a1bd2
1 changed files with 2 additions and 2 deletions
|
@ -47,8 +47,8 @@ if !libc_so || !libm_so
|
|||
ruby = EnvUtil.rubybin
|
||||
ldd = `ldd #{ruby}`
|
||||
#puts ldd
|
||||
libc_so = $1 if !libc_so && %r{libc\.so.*=>\s+(/\S*)} =~ ldd
|
||||
libm_so = $1 if !libm_so && %r{libm\.so.*=>\s+(/\S*)} =~ ldd
|
||||
libc_so = $& if !libc_so && %r{/\S*/libc\.so\S*} =~ ldd
|
||||
libm_so = $& if !libm_so && %r{/\S*/libm\.so\S*} =~ ldd
|
||||
#p [libc_so, libm_so]
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue