summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2010-01-20 14:04:29 +0000
committerDr. Stephen Henson <steve@openssl.org>2010-01-20 14:04:29 +0000
commit6c61ee8fe36cdcf66d9da1270b5cfea18a398171 (patch)
tree9fa0f11fea83b009083ea3cbc26fefccd29a6f49 /util
parentb86ebb55ffdd5207df752376bbba19ff551df3e4 (diff)
Support -L options in VC++ link.
Diffstat (limited to 'util')
-rw-r--r--util/pl/VC-32.pl4
1 files changed, 4 insertions, 0 deletions
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/)