mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-11 09:33:49 +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.
|
## 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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user