mirror of
https://github.com/nigels-com/glew.git
synced 2024-11-13 09:43:48 +00:00
#39 patch for PPC64 linux Makefile
This commit is contained in:
parent
6ceace91e7
commit
aeb1d33096
@ -2,12 +2,19 @@ NAME = $(GLEW_NAME)
|
|||||||
CC = cc
|
CC = cc
|
||||||
LD = cc
|
LD = cc
|
||||||
M_ARCH ?= $(shell uname -m)
|
M_ARCH ?= $(shell uname -m)
|
||||||
|
ARCH64 = false
|
||||||
ifeq (x86_64,${M_ARCH})
|
ifeq (x86_64,${M_ARCH})
|
||||||
LDFLAGS.EXTRA = -L/usr/X11R6/lib64 -L/usr/lib64
|
ARCH64 = true
|
||||||
LIBDIR = $(GLEW_DEST)/lib64
|
endif
|
||||||
|
ifeq (ppc64,${M_ARCH})
|
||||||
|
ARCH64 = true
|
||||||
|
endif
|
||||||
|
ifeq (${ARCH64},true)
|
||||||
|
LDFLAGS.EXTRA = -L/usr/X11R6/lib64 -L/usr/lib64
|
||||||
|
LIBDIR = $(GLEW_DEST)/lib64
|
||||||
else
|
else
|
||||||
LDFLAGS.EXTRA = -L/usr/X11R6/lib -L/usr/lib
|
LDFLAGS.EXTRA = -L/usr/X11R6/lib -L/usr/lib
|
||||||
LIBDIR = $(GLEW_DEST)/lib
|
LIBDIR = $(GLEW_DEST)/lib
|
||||||
endif
|
endif
|
||||||
LDFLAGS.GL = -lXmu -lXi -lGL -lXext -lX11
|
LDFLAGS.GL = -lXmu -lXi -lGL -lXext -lX11
|
||||||
LDFLAGS.STATIC = -Wl,-Bstatic
|
LDFLAGS.STATIC = -Wl,-Bstatic
|
||||||
|
Loading…
Reference in New Issue
Block a user