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:
parent
1ac228378c
commit
287fb680e2
1 changed files with 2 additions and 1 deletions
|
@ -284,7 +284,8 @@ MESSAGE
|
||||||
end
|
end
|
||||||
|
|
||||||
def split_libs(*strs)
|
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
|
end
|
||||||
|
|
||||||
def merge_libs(*libs)
|
def merge_libs(*libs)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue