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:
ikits 2007-03-01 06:49:21 +00:00
parent b13d74832b
commit 6fec8c7993

View File

@ -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