Fix linux build

The cocos library uses libpthread and libGL on linux, so we need to link
with them.
This commit is contained in:
Roger Zanoni 2013-03-19 18:39:25 -04:00
parent 6c1867f363
commit fdb1d69efe
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ FMOD_LIBDIR = $(COCOS_ROOT)/CocosDenshion/third_party/fmod/api/lib
SHAREDLIBS += -lfmodex
endif
SHAREDLIBS += -lglfw -lGLEW -lfontconfig
SHAREDLIBS += -lglfw -lGLEW -lfontconfig -lpthread -lGL
SHAREDLIBS += -L$(FMOD_LIBDIR) -Wl,-rpath,$(RPATH_REL)/$(FMOD_LIBDIR)
SHAREDLIBS += -L$(LIB_DIR) -Wl,-rpath,$(RPATH_REL)/$(LIB_DIR)
LIBS = -lrt -lz