This patch fixes the misplacement of a generated .pdb file when
building a debug version of openssl with Visual C.
Attached file 0.9.7-stable-SNAP-20050922-yang-diffs.patch is the patch
for 0.9.7-stable snapshot 20050922.
Attached file 0.9.8-stable-SNAP-20050922-yang-diffs.patch is the patch
for 0.9.8-stable snapshot 20050922.
Regards, Yang
diff -ur openssl-0.9.7-stable-SNAP-20050922-orig/util/pl/VC-32.pl
openssl-0.9.7-stable-SNAP-20050922-work/util/pl/VC-32.pl
--- openssl-0.9.7-stable-SNAP-20050922-orig/util/pl/VC-32.pl 2005-09-19
17:02:56.000000000 +0200
+++ openssl-0.9.7-stable-SNAP-20050922-work/util/pl/VC-32.pl 2005-09-22
23:28:09.974188800 +0200
@@ -97,7 +97,7 @@
$tmp_def="tmp32dll";
}
-$cflags.=" /Fd$out_def";
+$cflags.=" /Fd$out_def".($debug?".dbg/":"/");
sub do_lib_rule
{
diff -ur openssl-0.9.7-stable-SNAP-20050922-orig/util/pl/VC-CE.pl
openssl-0.9.7-stable-SNAP-20050922-work/util/pl/VC-CE.pl
--- openssl-0.9.7-stable-SNAP-20050922-orig/util/pl/VC-CE.pl 2004-05-17
07:01:24.000000000 +0200
+++ openssl-0.9.7-stable-SNAP-20050922-work/util/pl/VC-CE.pl 2005-09-22
23:28:30.994414400 +0200
@@ -66,7 +66,7 @@
$tmp_def='tmp32dll_$(TARGETCPU)';
}
-$cflags.=" /Fd$out_def";
+$cflags.=" /Fd$out_def".($debug?".dbg/":"/");
sub do_lib_rule
{
diff -ur openssl-0.9.8-stable-SNAP-20050922-orig/util/pl/VC-32.pl
openssl-0.9.8-stable-SNAP-20050922-work/util/pl/VC-32.pl
--- openssl-0.9.8-stable-SNAP-20050922-orig/util/pl/VC-32.pl 2005-09-19
17:05:44.000000000 +0200
+++ openssl-0.9.8-stable-SNAP-20050922-work/util/pl/VC-32.pl 2005-09-22
23:33:24.085859200 +0200
@@ -230,7 +230,7 @@
$tmp_def='tmp32dll_$(TARGETCPU)';
}
-$cflags.=" /Fd$out_def";
+$cflags.=" /Fd$out_def".($debug?".dbg/":"/");
sub do_lib_rule
{