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

Library arguments to VC are bare file names

This commit is contained in:
Nobuyoshi Nakada 2021-07-03 00:15:21 +09:00
parent 1ac228378c
commit 287fb680e2
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -284,7 +284,8 @@ MESSAGE
end
def split_libs(*strs)
strs.map {|s| s.split(/\s+(?=-|\z)/)}.flatten
sep = $mswin ? /\s+/ : /\s+(?=-|\z)/
strs.map {|s| s.lstrip.split(sep)}.flatten
end
def merge_libs(*libs)