Fix case where ccache isn't installed

This commit is contained in:
Michael Droettboom 2018-07-25 07:54:55 -04:00
parent 6c9cbc11b6
commit 860de942b8
1 changed files with 2 additions and 2 deletions

View File

@ -163,8 +163,8 @@ root/.built: \
ccache/emcc:
mkdir -p $(PYODIDE_ROOT)/ccache ; \
if hash ccache &>/dev/null; then \
mkdir -p $(PYODIDE_ROOT)/ccache ; \
ln -s `which ccache` $(PYODIDE_ROOT)/ccache/emcc ; \
else \
ln -s emsdk/emsdk/emscripten/tag-1.38.4/emcc $(PYODIDE_ROOT)/ccache/emcc; \
@ -172,8 +172,8 @@ ccache/emcc:
ccache/em++:
mkdir -p $(PYODIDE_ROOT)/ccache ; \
if hash ccache &>/dev/null; then \
mkdir -p $(PYODIDE_ROOT)/ccache ; \
ln -s `which ccache` $(PYODIDE_ROOT)/ccache/em++ ; \
else \
ln -s emsdk/emsdk/emscripten/tag-1.38.4/em++ $(PYODIDE_ROOT)/ccache/em++; \