From 0e866192ae2abe5f9bcdfc8cb0b4aa23aba1301b Mon Sep 17 00:00:00 2001 From: Peter Foley Date: Sat, 15 Sep 2012 10:58:59 -0400 Subject: [PATCH] fix for openssl with MSVC when ccache is enabled Change-Id: I93deea3a80178f51fff9a23328df7a67f308e052 --- openssl/makefile.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openssl/makefile.mk b/openssl/makefile.mk index 04a8683a20ee..286e4242bb42 100644 --- a/openssl/makefile.mk +++ b/openssl/makefile.mk @@ -155,7 +155,8 @@ OUT2BIN += 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))) + CC!:=$(subst,/,\ $(normpath,1 $(CC:1))) + CC!:=$(CC:s/ccache/ccache cl.exe/) .EXPORT : CC .ENDIF PERL_bak:=$(PERL)