mod_mongo: let mongo build with ccache

This commit is contained in:
Travis Cross 2012-05-04 20:31:48 +00:00
parent adfe462691
commit 56e4a5fc5d

View File

@ -24,6 +24,9 @@ $(MONGO_CXX_DRIVER_SRC):
$(LIBMONGOCLIENT_A): $(MONGO_CXX_DRIVER_SRC)
cd $(MONGO_CXX_DRIVER_SRC) && scons
(cd $(MONGO_CXX_DRIVER_SRC) && \
sed -i SConstruct -e "s/Environment()/Environment(ENV = {'PATH' : os.environ['PATH'],'CFLAGS' : os.environ['CFLAGS']})/" && \
echo "env.Append(PATH=os.environ['PATH'])" >> SConstruct && \
scons)
$(TOUCH_TARGET)