summaryrefslogtreecommitdiff
path: root/openssl
diff options
context:
space:
mode:
authorHans-Joachim Lankenau <hjs@openoffice.org>2009-12-03 14:23:12 +0100
committerHans-Joachim Lankenau <hjs@openoffice.org>2009-12-03 14:23:12 +0100
commitfc895db9bacb559bb661d5a9fa8b3ac13b84dfdd (patch)
treee32ecf46e03e56ff2b41542577a2d97d77a162c6 /openssl
parent8180586f8bf8aa7f728b0bc03c98eabd932cd114 (diff)
ause106: #i107409# fix for windows ccache usage
Diffstat (limited to 'openssl')
-rw-r--r--openssl/makefile.mk6
1 files changed, 5 insertions, 1 deletions
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)