mirror of https://github.com/axmolengine/axmol.git
Fixed compilation errors for linux port.
This commit is contained in:
parent
ca5e7b45b1
commit
680fbe3517
|
@ -168,7 +168,7 @@ STATICLIBS = $(STATICLIBS_DIR)/libfreetype.a \
|
|||
$(STATICLIBS_DIR)/libtiff.a
|
||||
|
||||
SHAREDLIBS =
|
||||
SHAREDLIBS += -lglfw -lGL -lcurl -lfontconfig
|
||||
SHAREDLIBS += -lglfw -lcurl -lfontconfig
|
||||
SHAREDLIBS += -Wl,-rpath,../../cocos2dx/platform/third_party/linux/glew-1.7.0/glew-1.7.0/lib
|
||||
SHAREDLIBS += -L../../cocos2dx/platform/third_party/linux/glew-1.7.0/glew-1.7.0/lib -lGLEW
|
||||
|
||||
|
|
|
@ -29,6 +29,8 @@ if ! test -d $DIR_GLEW170/glew-1.7.0/; then
|
|||
DEPENDS+=' libcurl4-gnutls-dev'
|
||||
DEPENDS+=' libfontconfig1-dev'
|
||||
DEPENDS+=' libsqlite3-dev'
|
||||
DEPENDS+=' glew-dev'
|
||||
|
||||
for i in $DEPENDS; do
|
||||
echo -e $TXTCOLOR_GREEN"sudo apt-get install $i, please enter your password:"$TXTCOLOR_DEFAULT
|
||||
sudo apt-get install $i
|
||||
|
|
|
@ -50,7 +50,7 @@ SHAREDLIBS_DIR = ../../../../CocosDenshion/third_party/fmod/api/lib
|
|||
SHAREDLIBS = -L$(SHAREDLIBS_DIR) -lfmodex
|
||||
endif
|
||||
|
||||
SHAREDLIBS += -lglfw -lGL
|
||||
SHAREDLIBS += -lglfw
|
||||
#SHAREDLIBS += -L../../../../lib/linux/Debug -lcocos2d -lrt -lz -lcocosdenshion -Wl,-rpath,../../../../../lib/linux/Debug/
|
||||
SHAREDLIBS += -Wl,-rpath,../../$(SHAREDLIBS_DIR)
|
||||
#SHAREDLIBS += -Wl,-rpath,../../../../../cocos2dx/platform/third_party/linux/glew-1.7.0/glew-1.7.0/lib
|
||||
|
|
|
@ -155,7 +155,7 @@ SHAREDLIBS_DIR = ../../../../CocosDenshion/third_party/fmod/api/lib
|
|||
SHAREDLIBS = -L$(SHAREDLIBS_DIR) -lfmodex
|
||||
endif
|
||||
|
||||
SHAREDLIBS += -lglfw -lGL
|
||||
SHAREDLIBS += -lglfw
|
||||
#SHAREDLIBS += -L../../../../lib/linux/Debug -lcocos2d -lrt -lz -lcocosdenshion -Wl,-rpath,../../../../../lib/linux/Debug/
|
||||
SHAREDLIBS += -Wl,-rpath,../../$(SHAREDLIBS_DIR)
|
||||
#SHAREDLIBS += -Wl,-rpath,../../../../../cocos2dx/platform/third_party/linux/glew-1.7.0/glew-1.7.0/lib
|
||||
|
|
Loading…
Reference in New Issue