forked from Mirrors/freeswitch
mod_mongo: let mongo build with ccache
This commit is contained in:
parent
adfe462691
commit
56e4a5fc5d
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user