glew: fix crosscompiling patch

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2012-01-27 19:12:04 +01:00
parent f4ed65305e
commit 0b94702603

View File

@ -1,5 +1,6 @@
--- glew-1.6.0/config/Makefile.linux.orig 2011-05-07 12:17:35.143944898 -0600
+++ glew-1.6.0/config/Makefile.linux 2011-05-07 12:17:59.207718777 -0600
diff -Naur glew-1.7.0/config/Makefile.linux glew-1.7.0.patch/config/Makefile.linux
--- glew-1.7.0/config/Makefile.linux 2011-08-25 16:17:55.000000000 +0200
+++ glew-1.7.0.patch/config/Makefile.linux 2012-01-27 18:52:20.764675791 +0100
@@ -1,15 +1,7 @@
NAME = $(GLEW_NAME)
-CC = cc
@ -16,3 +17,15 @@
LDFLAGS.GL = -lXmu -lXi -lGLU -lGL -lXext -lX11
LDFLAGS.STATIC = -Wl,-Bstatic
LDFLAGS.DYNAMIC = -Wl,-Bdynamic
diff -Naur glew-1.7.0/Makefile glew-1.7.0.patch/Makefile
--- glew-1.7.0/Makefile 2012-01-27 18:50:02.004347735 +0100
+++ glew-1.7.0.patch/Makefile 2012-01-27 18:50:27.970848891 +0100
@@ -56,7 +56,7 @@
AR = ar
INSTALL = install
-STRIP = strip
+STRIP ?= strip
RM = rm -f
LN = ln -sf
ifeq ($(MAKECMDGOALS), debug)