summaryrefslogtreecommitdiff
path: root/app/fvwm/Makefile.inc
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2010-11-27 14:25:48 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2010-11-27 14:25:48 +0000
commit997b535a20c1ef991377fb0d1b237efe4e2bb928 (patch)
tree3101a99934f20dae3c0fdb30202c568c87560a81 /app/fvwm/Makefile.inc
parent5aaf76b3bf54896c7779634c10940edc785ca482 (diff)
Explicitely link libxcb when needed for static arches.
Diffstat (limited to 'app/fvwm/Makefile.inc')
-rw-r--r--app/fvwm/Makefile.inc6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/fvwm/Makefile.inc b/app/fvwm/Makefile.inc
index 7c1b07eda..a034ad307 100644
--- a/app/fvwm/Makefile.inc
+++ b/app/fvwm/Makefile.inc
@@ -1,5 +1,5 @@
# -*- makefile -*-
-# $OpenBSD: Makefile.inc,v 1.5 2008/03/25 23:41:50 matthieu Exp $
+# $OpenBSD: Makefile.inc,v 1.6 2010/11/27 14:25:47 matthieu Exp $
.ifndef FVWM_MAKEFILE_INC
FVWM_MAKEFILE_INC = done
@@ -9,6 +9,10 @@ CFLAGS+= -I${X11BASE}/include -I${.CURDIR} -I${.CURDIR}/.. \
-I${.CURDIR}/../libs
LDADD+= -L${X11BASE}/lib
+.if ${XENOCARA_BUILD_XCB:L} != "no"
+LIBXCB= -lxcb
+.endif
+
FVWMLIBDIR= ${X11BASE}/lib/X11/fvwm
MANDIR= ${X11BASE}/man/cat