Support -L options in VC++ link.

This commit is contained in:
Dr. Stephen Henson
2010-01-20 14:04:29 +00:00
parent b86ebb55ff
commit 6c61ee8fe3

View File

@@ -27,6 +27,10 @@ $rm='del /Q';
$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
$cc='cl';
if ($FLAVOR =~ /WIN64/)