mirror of https://github.com/axmolengine/axmol.git
Merge branch 'gles20' of https://github.com/cocos2d/cocos2d-x into gles20
This commit is contained in:
commit
8d55bae974
|
@ -189,14 +189,13 @@ STATICLIBS_DIR = ../platform/third_party/linux/libraries
|
|||
endif
|
||||
STATICLIBS =
|
||||
STATICLIBS = $(STATICLIBS_DIR)/libfreetype.a \
|
||||
$(STATICLIBS_DIR)/libcurl.a \
|
||||
$(STATICLIBS_DIR)/libxml2.a \
|
||||
$(STATICLIBS_DIR)/libpng.a \
|
||||
$(STATICLIBS_DIR)/libjpeg.a \
|
||||
$(STATICLIBS_DIR)/libtiff.a \
|
||||
|
||||
SHAREDLIBS =
|
||||
SHAREDLIBS += -lglfw -lGL
|
||||
SHAREDLIBS += -lglfw -lGL -lcurl
|
||||
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
|
||||
|
||||
|
|
|
@ -25,6 +25,7 @@ if ! test -d $DIR_GLEW170/glew-1.7.0/; then
|
|||
DEPENDS+=' libglfw-dev'
|
||||
DEPENDS+=' g++'
|
||||
DEPENDS+=' libzip-dev'
|
||||
DEPENDS+=' libcurl4-gnutls-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
|
||||
|
|
|
@ -35,7 +35,6 @@ STATICLIBS_DIR = ../../../cocos2dx/platform/third_party/linux/libraries
|
|||
endif
|
||||
STATICLIBS =
|
||||
STATICLIBS = $(STATICLIBS_DIR)/libfreetype.a \
|
||||
$(STATICLIBS_DIR)/libcurl.a \
|
||||
$(STATICLIBS_DIR)/libxml2.a \
|
||||
$(STATICLIBS_DIR)/libpng.a \
|
||||
$(STATICLIBS_DIR)/libjpeg.a \
|
||||
|
@ -44,7 +43,7 @@ STATICLIBS = $(STATICLIBS_DIR)/libfreetype.a \
|
|||
|
||||
|
||||
SHAREDLIBS = -L../../../lib/linux/Debug -lcocos2d -lrt -lz -lcocosdenshion -Wl,-rpath,../../../lib/linux/Debug/
|
||||
SHAREDLIBS += -lglfw
|
||||
SHAREDLIBS += -lglfw -lcurl
|
||||
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
|
||||
|
||||
|
|
|
@ -153,7 +153,7 @@ SHAREDLIBS += -Wl,-rpath,../../../cocos2dx/platform/third_party/linux/glew-1.7.0
|
|||
SHAREDLIBS += -L../../../cocos2dx/platform/third_party/linux/glew-1.7.0/glew-1.7.0/lib -lGLEW
|
||||
|
||||
SHAREDLIBS += -Wl,-rpath,$(STATICLIBS_DIR)
|
||||
SHAREDLIBS += -L$(STATICLIBS_DIR) -lcurl
|
||||
SHAREDLIBS += -lcurl
|
||||
|
||||
|
||||
####### Build rules
|
||||
|
|
|
@ -56,8 +56,8 @@ SHAREDLIBS = -L$(SHAREDLIBS_DIR) -lfmodex
|
|||
endif
|
||||
|
||||
SHAREDLIBS += -L../../../lib/linux/Debug -lcocos2d -lrt -lz -lcocosdenshion -Wl,-rpath,../../../lib/linux/Debug/
|
||||
SHAREDLIBS += -lglfw
|
||||
#SHAREDLIBS += -lGLEW
|
||||
SHAREDLIBS += -lglfw -lcurl
|
||||
#SHAREDLIBS += -lGLEW
|
||||
SHAREDLIBS += -Wl,-rpath,$(SHAREDLIBS_DIR)
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue