mirror of
https://github.com/nigels-com/glew.git
synced 2024-11-25 23:31:56 +00:00
Use uname instead of arch since Debian/Ubunutu/etc do not have arch
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@547 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
parent
b7b9914963
commit
ada95db57b
@ -6,7 +6,7 @@ CFLAGS.EXTRA = -DGLEW_MX
|
||||
endif
|
||||
PICFLAG = -fPIC
|
||||
LDFLAGS.SO = -shared -Wl,-soname=$(LIB.SONAME)
|
||||
M_ARCH ?= $(shell arch)
|
||||
M_ARCH ?= $(shell uname -m)
|
||||
ifeq (x86_64,${M_ARCH})
|
||||
LDFLAGS.EXTRA = -L/usr/X11R6/lib64
|
||||
LIBDIR = $(GLEW_DEST)/lib64
|
||||
|
Loading…
Reference in New Issue
Block a user