mirror of
https://github.com/nigels-com/glew.git
synced 2025-01-18 18:45:54 +00:00
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:
parent
7e708af2be
commit
2fd600b733
2
Makefile
2
Makefile
@ -29,10 +29,10 @@
|
||||
## THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
GLEW_DEST ?= /usr
|
||||
LIBDIR = $(GLEW_DEST)/lib
|
||||
|
||||
include config/version
|
||||
|
||||
LIBDIR ?= $(GLEW_DEST)/lib
|
||||
TARDIR = ../glew-$(GLEW_VERSION)
|
||||
TARBALL = ../glew_$(GLEW_VERSION).tar.gz
|
||||
|
||||
|
@ -9,8 +9,10 @@ LDFLAGS.SO = -shared -Wl,-soname=$(LIB.SONAME)
|
||||
M_ARCH ?= $(shell arch)
|
||||
ifeq (${M_ARCH},x86_64))
|
||||
LDFLAGS.EXTRA = -L/usr/X11R6/lib64
|
||||
LIBDIR = $(GLEW_DEST)/lib64
|
||||
else
|
||||
LDFLAGS.EXTRA = -L/usr/X11R6/lib
|
||||
LIBDIR = $(GLEW_DEST)/lib
|
||||
endif
|
||||
LDFLAGS.GL = -lXmu -lXi -lGLU -lGL -lXext -lX11
|
||||
LDFLAGS.STATIC = -Wl,-Bstatic
|
||||
|
Loading…
Reference in New Issue
Block a user