Merge pull request #548 from minggo/master

add link path & copy cocosdenshion depended libs into lib/linux/Debug
This commit is contained in:
minggo 2011-10-14 02:33:40 -07:00
commit be42eec8db
2 changed files with 5 additions and 2 deletions

View File

@ -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)

View File

@ -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