summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2010-01-20 14:04:44 +0000
committerDr. Stephen Henson <steve@openssl.org>2010-01-20 14:04:44 +0000
commita70e377fd8331be7871879425ea47df6f3a31a36 (patch)
tree246032bd418a170544f3e2e71da3c3ecd65a7115 /util
parentb3020393f207d84f828fd021aa2c999cd434d2cf (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 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/)