added lib64 fix

git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@470 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
ikits 2007-03-01 05:19:49 +00:00
parent 7e708af2be
commit 2fd600b733
2 changed files with 3 additions and 1 deletions

View File

@ -29,10 +29,10 @@
## THE POSSIBILITY OF SUCH DAMAGE. ## THE POSSIBILITY OF SUCH DAMAGE.
GLEW_DEST ?= /usr GLEW_DEST ?= /usr
LIBDIR = $(GLEW_DEST)/lib
include config/version include config/version
LIBDIR ?= $(GLEW_DEST)/lib
TARDIR = ../glew-$(GLEW_VERSION) TARDIR = ../glew-$(GLEW_VERSION)
TARBALL = ../glew_$(GLEW_VERSION).tar.gz TARBALL = ../glew_$(GLEW_VERSION).tar.gz

View File

@ -9,8 +9,10 @@ LDFLAGS.SO = -shared -Wl,-soname=$(LIB.SONAME)
M_ARCH ?= $(shell arch) M_ARCH ?= $(shell arch)
ifeq (${M_ARCH},x86_64)) ifeq (${M_ARCH},x86_64))
LDFLAGS.EXTRA = -L/usr/X11R6/lib64 LDFLAGS.EXTRA = -L/usr/X11R6/lib64
LIBDIR = $(GLEW_DEST)/lib64
else else
LDFLAGS.EXTRA = -L/usr/X11R6/lib LDFLAGS.EXTRA = -L/usr/X11R6/lib
LIBDIR = $(GLEW_DEST)/lib
endif endif
LDFLAGS.GL = -lXmu -lXi -lGLU -lGL -lXext -lX11 LDFLAGS.GL = -lXmu -lXi -lGLU -lGL -lXext -lX11
LDFLAGS.STATIC = -Wl,-Bstatic LDFLAGS.STATIC = -Wl,-Bstatic