From 7a3875b99da3671917b4fbd7a3b4f732788cce89 Mon Sep 17 00:00:00 2001 From: James Gregory Date: Wed, 1 May 2013 13:31:24 -0700 Subject: [PATCH] Point Emscripten root to be the external referenced by the tree. --- cocos2dx/proj.emscripten/cocos2dx.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cocos2dx/proj.emscripten/cocos2dx.mk b/cocos2dx/proj.emscripten/cocos2dx.mk index 90ae640824..9560eb239b 100644 --- a/cocos2dx/proj.emscripten/cocos2dx.mk +++ b/cocos2dx/proj.emscripten/cocos2dx.mk @@ -12,9 +12,9 @@ COCOS_SRC = $(COCOS_ROOT)/cocos2dx OBJ_DIR ?= obj PACKAGER := $(realpath $(COCOS_ROOT)/external/emscripten/tools/file_packager.py) -CC := $(COCOS_ROOT)/external/emscripten/emcc -CXX := $(COCOS_ROOT)/external/emscripten/em++ -AR := $(COCOS_ROOT)/external/emscripten/emar +CC := EMSCRIPTEN=$(realpath $(COCOS_ROOT)/external/emscripten) $(COCOS_ROOT)/external/emscripten/emcc +CXX := EMSCRIPTEN=$(realpath $(COCOS_ROOT)/external/emscripten) $(COCOS_ROOT)/external/emscripten/em++ +AR := EMSCRIPTEN=$(realpath $(COCOS_ROOT)/external/emscripten) $(COCOS_ROOT)/external/emscripten/emar CCFLAGS += -MMD -Wall -fPIC -Qunused-arguments -Wno-overloaded-virtual -Qunused-variable -s TOTAL_MEMORY=268435456 -s VERBOSE=1 CXXFLAGS += -MMD -Wall -fPIC -Qunused-arguments -Wno-overloaded-virtual -Qunused-variable -s TOTAL_MEMORY=268435456 -s VERBOSE=1 ARFLAGS = cr