From 424ba8b58871dcda97f115894bd0ddc6d120d579 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Sun, 12 Feb 2012 23:20:21 +0000 Subject: [PATCH] PR: 2708 Submitted by: Bruce Stephens Translate path separators correctly for $fipsdir in util/mk1mf.pl --- util/mk1mf.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/util/mk1mf.pl b/util/mk1mf.pl index 916175ab39..72fa089f6b 100755 --- a/util/mk1mf.pl +++ b/util/mk1mf.pl @@ -59,7 +59,6 @@ while() { } close(IN); -$fipsdir =~ tr/\//${o}/; $debug = 1 if $mf_platform =~ /^debug-/; die "Makefile is not the toplevel Makefile!\n" if $ssl_version eq ""; @@ -234,6 +233,8 @@ else $cflags.=' -DTERMIO'; } +$fipsdir =~ s/\//${o}/g; + $out_dir=(defined($VARS{'OUT'}))?$VARS{'OUT'}:$out_def.($debug?".dbg":""); $tmp_dir=(defined($VARS{'TMP'}))?$VARS{'TMP'}:$tmp_def.($debug?".dbg":""); $inc_dir=(defined($VARS{'INC'}))?$VARS{'INC'}:$inc_def; -- 2.25.1