From: Dr. Stephen Henson Date: Wed, 20 Jan 2010 14:04:44 +0000 (+0000) Subject: Support -L options in VC++ link. X-Git-Tag: OpenSSL-fips-2_0-rc1~1333 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a70e377fd8331be7871879425ea47df6f3a31a36;p=oweals%2Fopenssl.git Support -L options in VC++ link. --- diff --git a/util/pl/VC-32.pl b/util/pl/VC-32.pl index ac1959acb3..45013475da 100644 --- a/util/pl/VC-32.pl +++ b/util/pl/VC-32.pl @@ -13,6 +13,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/)