mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-23 07:05:07 +00:00
final fix for 64 install problem
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@473 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
parent
b13d74832b
commit
6fec8c7993
@ -7,11 +7,10 @@ endif
|
|||||||
PICFLAG = -fPIC
|
PICFLAG = -fPIC
|
||||||
LDFLAGS.SO = -shared -Wl,-soname=$(LIB.SONAME)
|
LDFLAGS.SO = -shared -Wl,-soname=$(LIB.SONAME)
|
||||||
M_ARCH ?= $(shell arch)
|
M_ARCH ?= $(shell arch)
|
||||||
ifeq (${M_ARCH},x86_64))
|
ifeq (x86_64,${M_ARCH})
|
||||||
LDFLAGS.EXTRA = -L/usr/X11R6/lib64
|
LDFLAGS.EXTRA = -L/usr/X11R6/lib64
|
||||||
LIBDIR = $(GLEW_DEST)/lib64
|
LIBDIR = $(GLEW_DEST)/lib64
|
||||||
endif
|
else
|
||||||
ifneq (${M_ARCH},x86_64))
|
|
||||||
LDFLAGS.EXTRA = -L/usr/X11R6/lib
|
LDFLAGS.EXTRA = -L/usr/X11R6/lib
|
||||||
LIBDIR = $(GLEW_DEST)/lib
|
LIBDIR = $(GLEW_DEST)/lib
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user