diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2010-01-20 14:04:44 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2010-01-20 14:04:44 +0000 |
commit | a70e377fd8331be7871879425ea47df6f3a31a36 (patch) | |
tree | 246032bd418a170544f3e2e71da3c3ecd65a7115 /util/pl | |
parent | b3020393f207d84f828fd021aa2c999cd434d2cf (diff) |
Support -L options in VC++ link.
Diffstat (limited to 'util/pl')
-rw-r--r-- | util/pl/VC-32.pl | 4 |
1 files changed, 4 insertions, 0 deletions
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/) |