bundle 64 bit linux static libs

This commit is contained in:
Leon 2011-10-28 12:19:26 +08:00
parent 1b42b1d801
commit b7f0385a2b
7 changed files with 18 additions and 8 deletions

View File

@ -1,8 +1,8 @@
CC = gcc
CXX = g++
TARGET = libcocosdenshion.so
CCFLAGS = -Wall -g -O2
CXXFLAGS = -Wall -g -O2
CCFLAGS = -Wall -g -O2 -fPIC
CXXFLAGS = -Wall -g -O2 -fPIC
VISIBILITY =
INCLUDES = -I.. \

View File

@ -0,0 +1 @@
16aa53d20c3f675cf94eb63ee029a3ca655e849a

View File

@ -0,0 +1 @@
605d56a7423e747f13034756e21bf64e0ad94a43

View File

@ -0,0 +1 @@
26c9923522213ccf69d7934d31376fcb28216b29

View File

@ -0,0 +1 @@
d582ee99eb4cf5b1a3e1010535d3ad0e02b07d15

View File

@ -0,0 +1 @@
f4d59c12129476e3e34083f0b6dc9953821da854

View File

@ -108,13 +108,18 @@ OBJECTS = ../actions/CCAction.o \
../CCScheduler.o \
../cocos2d.o
LBITS := $(shell getconf LONG_BIT)
ifeq ($(LBITS),64)
STATICLIBS_DIR = ../platform/third_party/linux/libraries/lib64
else
STATICLIBS_DIR = ../platform/third_party/linux/libraries
#STATICLIBS = $(STATICLIBS_DIR)/libfreetype.a \
# $(STATICLIBS_DIR)/libcurl.a \
# $(STATICLIBS_DIR)/libxml2.a \
# $(STATICLIBS_DIR)/libpng.a \
# $(STATICLIBS_DIR)/libjpeg.a
endif
STATICLIBS = $(STATICLIBS_DIR)/libfreetype.a \
$(STATICLIBS_DIR)/libcurl.a \
$(STATICLIBS_DIR)/libxml2.a \
$(STATICLIBS_DIR)/libpng.a \
$(STATICLIBS_DIR)/libjpeg.a
SHAREDLIBS = -lglfw -lGL
####### Build rules