aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2000-09-21 15:16:20 +0000
committerRichard Levitte <levitte@openssl.org>2000-09-21 15:16:20 +0000
commitd17698648803c53733700c09173b329982bd58a4 (patch)
treed5388e50b6d0caa50a367183b93f776b6034d7df /util
parentc759ddd6769f00bc1625acb9f63e190d17775108 (diff)
downloadopenssl-d17698648803c53733700c09173b329982bd58a4.tar.gz
Ugly hack to make sure static libraries are usable. Without this,
anything that just links with libeay32.lib or libssl32.lib will get an error saying the __imp__RegQueryValueEx is unresolved. The right thing would really be to fix crypto/rand/rand_win.c to load ADVAPI32.DLL dynamically, but that won't be done just before a release.
Diffstat (limited to 'util')
-rw-r--r--util/pl/VC-32.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/util/pl/VC-32.pl b/util/pl/VC-32.pl
index 046f0e253c..6978104234 100644
--- a/util/pl/VC-32.pl
+++ b/util/pl/VC-32.pl
@@ -112,7 +112,8 @@ sub do_lib_rule
if (!$shlib)
{
# $ret.="\t\$(RM) \$(O_$Name)\n";
- $ret.="\t\$(MKLIB) $lfile$target @<<\n $objs\n<<\n";
+ $ex =' advapi32.lib';
+ $ret.="\t\$(MKLIB) $lfile$target @<<\n $objs $ex\n<<\n";
}
else
{