summaryrefslogtreecommitdiff
path: root/lib/libxcb/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libxcb/Makefile.inc')
-rw-r--r--lib/libxcb/Makefile.inc6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libxcb/Makefile.inc b/lib/libxcb/Makefile.inc
index 1dc6cb449..27e5e1ec2 100644
--- a/lib/libxcb/Makefile.inc
+++ b/lib/libxcb/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.3 2009/05/22 21:39:17 matthieu Exp $
+# $OpenBSD: Makefile.inc,v 1.4 2009/05/23 15:08:50 matthieu Exp $
LIBXCB= ${.CURDIR}/../../../dist/libxcb
@@ -6,6 +6,10 @@ CPPFLAGS= -I${X11BASE}/include \
-I${.CURDIR}/../src -I${LIBXCB}/src \
-DHAVE_CONFIG_H
+XCB_LIBS!= pkg-config --libs xcb
+
+LDADD?= ${XCB_LIBS}
+
.SUFFIXES: .in
.PATH: ${LIBXCB}/src