From 167066fed4700d68b2776cbece464658fb30ac92 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Mon, 13 Aug 2007 02:24:26 +0000 Subject: [PATCH] Fix for asm/no-asm on WIN32. --- crypto/Makefile | 1 + util/mk1mf.pl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/crypto/Makefile b/crypto/Makefile index e5b5b0781b..af2cac96d4 100644 --- a/crypto/Makefile +++ b/crypto/Makefile @@ -26,6 +26,7 @@ EX_LIBS= CFLAGS= $(INCLUDE) $(CFLAG) ASFLAGS= $(INCLUDE) $(ASFLAG) AFLAGS=$(ASFLAGS) +CPUID_OBJ=mem_clr.o LIBS= diff --git a/util/mk1mf.pl b/util/mk1mf.pl index 15579363fc..b5e13c3575 100755 --- a/util/mk1mf.pl +++ b/util/mk1mf.pl @@ -677,7 +677,7 @@ foreach (values %lib_nam) } if (($cpuid_asm_obj ne "") && ($_ eq "CRYPTO")) { - $lib_obj =~ s/\s(\S*\/cversion\S*)/ $1 \$(CPUID_ASM_OBJ)/; + $lib_obj =~ s/\s\S*\/mem_clr\S*/ \$(CPUID_ASM_OBJ)/; $rules.=&do_asm_rule($cpuid_asm_obj,$cpuid_asm_src); } $defs.=&do_defs(${_}."OBJ",$lib_obj,"\$(OBJ_D)",$obj); -- 2.25.1