mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-11 09:33:49 +00:00
added linux makefile patch
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@462 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
parent
cf628518f9
commit
10f2c7054e
@ -6,7 +6,12 @@ CFLAGS.EXTRA = -DGLEW_MX
|
||||
endif
|
||||
PICFLAG = -fPIC
|
||||
LDFLAGS.SO = -shared -Wl,-soname=$(LIB.SONAME)
|
||||
M_ARCH ?= $(shell arch)
|
||||
ifeq (${M_ARCH},x86_64))
|
||||
LDFLAGS.EXTRA = -L/usr/X11R6/lib64
|
||||
else
|
||||
LDFLAGS.EXTRA = -L/usr/X11R6/lib
|
||||
endif
|
||||
LDFLAGS.GL = -lXmu -lXi -lGLU -lGL -lXext -lX11
|
||||
LDFLAGS.STATIC = -Wl,-Bstatic
|
||||
LDFLAGS.DYNAMIC = -Wl,-Bdynamic
|
||||
|
Loading…
Reference in New Issue
Block a user