Support -L options in VC++ link.
This commit is contained in:
parent
b3020393f2
commit
a70e377fd8
@ -13,6 +13,10 @@ $rm='del /Q';
|
|||||||
|
|
||||||
$zlib_lib="zlib1.lib";
|
$zlib_lib="zlib1.lib";
|
||||||
|
|
||||||
|
# Santize -L options for ms link
|
||||||
|
$l_flags =~ s/-L("\[^"]+")/\/libpath:$1/g;
|
||||||
|
$l_flags =~ s/-L(\S+)/\/libpath:$1/g;
|
||||||
|
|
||||||
# C compiler stuff
|
# C compiler stuff
|
||||||
$cc='cl';
|
$cc='cl';
|
||||||
if ($FLAVOR =~ /WIN64/)
|
if ($FLAVOR =~ /WIN64/)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user