Search $OPTIONS for -DOPENSSL_CAPIENG_DIALOG because $cflags is
authorDr. Stephen Henson <steve@openssl.org>
Thu, 5 Jun 2008 11:38:03 +0000 (11:38 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Thu, 5 Jun 2008 11:38:03 +0000 (11:38 +0000)
no complete at this point.

util/pl/VC-32.pl

index bd4f0afb44f0fe21ffebf125c88948e1ea134b80..0b01fd62f59d26412e7edb2611eb5548670df847 100644 (file)
@@ -138,8 +138,8 @@ if ($FLAVOR =~ /CE/)
        }
 else
        {
-       $ex_libs.=' gdi32.lib advapi32.lib user32.lib';
-       $ex_libs.=' cryptui.lib' if $cflags =~ /-DOPENSSL_CAPIENG_DIALOG/;
+       $ex_libs.=' gdi32.lib crypt32.lib advapi32.lib user32.lib';
+       $ex_libs.=' cryptui.lib' if $OPTIONS =~ /-DOPENSSL_CAPIENG_DIALOG/;
        $ex_libs.=' bufferoverflowu.lib' if ($FLAVOR =~ /WIN64/);
        }