From 6fec8c799335d951abacea79e535b6932bed5add Mon Sep 17 00:00:00 2001 From: ikits Date: Thu, 1 Mar 2007 06:49:21 +0000 Subject: [PATCH] final fix for 64 install problem git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@473 783a27ee-832a-0410-bc00-9f386506c6dd --- config/Makefile.linux | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/config/Makefile.linux b/config/Makefile.linux index c761256..4bc0649 100644 --- a/config/Makefile.linux +++ b/config/Makefile.linux @@ -7,11 +7,10 @@ endif PICFLAG = -fPIC LDFLAGS.SO = -shared -Wl,-soname=$(LIB.SONAME) M_ARCH ?= $(shell arch) -ifeq (${M_ARCH},x86_64)) +ifeq (x86_64,${M_ARCH}) LDFLAGS.EXTRA = -L/usr/X11R6/lib64 LIBDIR = $(GLEW_DEST)/lib64 -endif -ifneq (${M_ARCH},x86_64)) +else LDFLAGS.EXTRA = -L/usr/X11R6/lib LIBDIR = $(GLEW_DEST)/lib endif