mirror of https://github.com/axmolengine/axmol.git
add link path & copy cocosdenshion depended libs into lib/linux/Debug
This commit is contained in:
parent
6b4f8b9489
commit
0086da0ee0
|
@ -14,9 +14,9 @@ DEFINES = -DLINUX
|
|||
OBJECTS = ../Linux/FmodAudioPlayer.o \
|
||||
../Linux/SimpleAudioEngine.o \
|
||||
|
||||
|
||||
STATICLIBS =
|
||||
SHAREDLIBS = -lfmodex
|
||||
SHAREDLIBS_DIR = ../third_party/fmod/api/lib
|
||||
SHAREDLIBS = -L$(SHAREDLIBS_DIR) -lfmodex
|
||||
|
||||
####### Build rules
|
||||
$(TARGET): $(OBJECTS)
|
||||
|
|
|
@ -23,6 +23,9 @@ if [ ! -d "lib/linux/Release" ]; then
|
|||
mkdir "lib/linux/Release"
|
||||
fi
|
||||
|
||||
# copy cocosdenshino depended libs into lib/linux/Debug/
|
||||
cp CocosDenshion/third_party/fmod/api/lib/*.so lib/linux/Debug
|
||||
|
||||
if [ $# -ne 0 ]; then
|
||||
if [ $1 = "clean" ]; then
|
||||
cd $p/cocos2dx/proj.linux
|
||||
|
|
Loading…
Reference in New Issue