From: Dr. Stephen Henson Date: Wed, 20 Jan 2010 14:04:29 +0000 (+0000) Subject: Support -L options in VC++ link. X-Git-Tag: OpenSSL_0_9_8m-beta1~3 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6c61ee8fe36cdcf66d9da1270b5cfea18a398171;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 d4fefaf70a..09dc26f107 100644 --- a/util/pl/VC-32.pl +++ b/util/pl/VC-32.pl @@ -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/)