Resolve ID: 3512247 - CentOS build paths

This commit is contained in:
Nigel Stewart 2012-05-04 09:49:18 -05:00
parent 950c81ab76
commit 3714717177

View File

@ -4,10 +4,10 @@ LD = cc
PICFLAG = -fPIC PICFLAG = -fPIC
M_ARCH ?= $(shell uname -m) M_ARCH ?= $(shell uname -m)
ifeq (x86_64,${M_ARCH}) ifeq (x86_64,${M_ARCH})
LDFLAGS.EXTRA = -L/usr/X11R6/lib64 LDFLAGS.EXTRA = -L/usr/X11R6/lib64 -L/usr/lib64
LIBDIR = $(GLEW_DEST)/lib64 LIBDIR = $(GLEW_DEST)/lib64
else else
LDFLAGS.EXTRA = -L/usr/X11R6/lib LDFLAGS.EXTRA = -L/usr/X11R6/lib -L/usr/lib
LIBDIR = $(GLEW_DEST)/lib LIBDIR = $(GLEW_DEST)/lib
endif endif
LDFLAGS.GL = -lXmu -lXi -lGLU -lGL -lXext -lX11 LDFLAGS.GL = -lXmu -lXi -lGLU -lGL -lXext -lX11