From fc895db9bacb559bb661d5a9fa8b3ac13b84dfdd Mon Sep 17 00:00:00 2001 From: Hans-Joachim Lankenau Date: Thu, 3 Dec 2009 14:23:12 +0100 Subject: ause106: #i107409# fix for windows ccache usage --- openssl/makefile.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'openssl') diff --git a/openssl/makefile.mk b/openssl/makefile.mk index f33c26a19b58..460a1989acdb 100644 --- a/openssl/makefile.mk +++ b/openssl/makefile.mk @@ -134,7 +134,11 @@ OUT2BIN += out/libeay32.dll # The env. vars CC and PERL are used by nmake, and nmake insists on '\'s # If WRAPCMD is set it is prepended before the compiler, don't touch that. .IF "$(WRAPCMD)"=="" - CC!:=$(subst,/,\ $(normpath,1 $(CC))) + # relace / with \ first word only + cc_first_repl = $(subst,/,\ $(normpath,1 $(CC:1))) + cc_first = $(normpath,1 $(CC:1)) + CC!:=$(subst,$(cc_first),$(cc_first_repl) $(normpath,1 $(CC))) +# CC!:=$(subst,/,\ $(normpath,1 $(CC))) .EXPORT : CC .ENDIF PERL_bak:=$(PERL) -- cgit