mirror of https://github.com/axmolengine/axmol.git
Fix linux build
The cocos library uses libpthread and libGL on linux, so we need to link with them.
This commit is contained in:
parent
6c1867f363
commit
fdb1d69efe
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue