glew/glew-1.5.2-add-needed.patch
2010-05-29 08:24:47 +00:00

13 lines
634 B
Diff

diff -up glew-1.5.4/Makefile.add glew-1.5.4/Makefile
--- glew-1.5.4/Makefile.add 2010-05-29 17:53:22.000000000 +1000
+++ glew-1.5.4/Makefile 2010-05-29 17:53:27.000000000 +1000
@@ -78,7 +78,7 @@ GLEWINFO.BIN.OBJS = $(GLEWINFO.BIN.SRCS:
VISUALINFO.BIN = visualinfo$(BIN.SUFFIX)
VISUALINFO.BIN.SRCS = src/visualinfo.c
VISUALINFO.BIN.OBJS = $(VISUALINFO.BIN.SRCS:.c=.o)
-BIN.LIBS = -Llib $(LDFLAGS.DYNAMIC) -l$(NAME) $(LDFLAGS.EXTRA) $(LDFLAGS.GL)
+BIN.LIBS = -Llib $(LDFLAGS.DYNAMIC) -l$(NAME) $(LDFLAGS.EXTRA) $(LDFLAGS.GL) -lX11
all debug: lib/$(LIB.SHARED) lib/$(LIB.STATIC) bin/$(GLEWINFO.BIN) bin/$(VISUALINFO.BIN) glew.pc