Use pkg-config to find libXCBxtest in the Makefile for the xtest test application.
authorJosh Triplett <josh@freedesktop.org>
Thu, 27 Apr 2006 18:47:09 +0000 (11:47 -0700)
committerJosh Triplett <josh@freedesktop.org>
Thu, 27 Apr 2006 18:47:09 +0000 (11:47 -0700)
app/xte/Makefile

index b602e80..84f64ba 100644 (file)
@@ -1,6 +1,6 @@
-pkgs = xcb xcb-keysyms
+pkgs = xcb xcb-keysyms xcb-xtest
 CFLAGS = `pkg-config --cflags $(pkgs)` -g -Wall -Wpointer-arith -Wstrict-prototypes
-LIBS = `pkg-config --libs $(pkgs)` -lXCBxtest
+LIBS = `pkg-config --libs $(pkgs)`
 
 xte:   xte.c
        $(CC) $(CFLAGS) xte.c $(LIBS) -o xte