7069dc0374
adjust add-needed.patch to add LDFLAGS in a better place and also add -lGLU
12 lines
402 B
Diff
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
|