glew/glew-1.5.7-add-needed.patch
Adam Williamson 7069dc0374 add glewmx.patch from upstream to build MX-enabled glew under a different name
adjust add-needed.patch to add LDFLAGS in a better place and also add -lGLU
2011-03-23 14:36:37 -07:00

12 lines
402 B
Diff

--- glew-1.5.7/config/Makefile.linux 2011-03-23 14:00:51.146177580 -0700
+++ glew-1.5.7/config/Makefile.linux.new 2011-03-23 14:23:27.568295306 -0700
@@ -8,7 +8,7 @@
LDFLAGS.SO = -shared -Wl,-soname=$(LIB.SONAME)
M_ARCH ?= $(shell uname -m)
LIBDIR = $(GLEW_DEST)$(libdir)
-LDFLAGS.GL = -lGL
+LDFLAGS.GL = -lGL -lX11 -lGLU
LDFLAGS.STATIC = -Wl,-Bstatic
LDFLAGS.DYNAMIC = -Wl,-Bdynamic
NAME = GLEW