diff --git a/config/Makefile.linux b/config/Makefile.linux index 364dfd1..c761256 100644 --- a/config/Makefile.linux +++ b/config/Makefile.linux @@ -8,10 +8,11 @@ PICFLAG = -fPIC LDFLAGS.SO = -shared -Wl,-soname=$(LIB.SONAME) M_ARCH ?= $(shell arch) ifeq (${M_ARCH},x86_64)) -LDFLAGS.EXTRA = -L/usr/X11R6/lib64; \ +LDFLAGS.EXTRA = -L/usr/X11R6/lib64 LIBDIR = $(GLEW_DEST)/lib64 -else -LDFLAGS.EXTRA = -L/usr/X11R6/lib; \ +endif +ifneq (${M_ARCH},x86_64)) +LDFLAGS.EXTRA = -L/usr/X11R6/lib LIBDIR = $(GLEW_DEST)/lib endif LDFLAGS.GL = -lXmu -lXi -lGLU -lGL -lXext -lX11