summaryrefslogtreecommitdiff
path: root/app/ssh-askpass
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/ssh-askpass
parent5aaf76b3bf54896c7779634c10940edc785ca482 (diff)
Explicitely link libxcb when needed for static arches.
Diffstat (limited to 'app/ssh-askpass')
-rw-r--r--app/ssh-askpass/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/app/ssh-askpass/Makefile b/app/ssh-askpass/Makefile
index ab6d5139c..a65e74d44 100644
--- a/app/ssh-askpass/Makefile
+++ b/app/ssh-askpass/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.10 2008/03/25 23:41:50 matthieu Exp $
+# $OpenBSD: Makefile,v 1.11 2010/11/27 14:25:47 matthieu Exp $
.include <bsd.xconf.mk>
PROG= ssh-askpass
@@ -10,8 +10,12 @@ VERSION= 1.2.0
DATE= February 14, 2001
APP_DEFAULTS= $(CLASS)-default.ad
+.if ${XENOCARA_BUILD_XCB:L} != "no"
+LIBXCB= -lxcb
+.endif
+
CPPFLAGS+= -I${X11BASE}/include -I.
-LDADD+= -L${X11BASE}/lib -lXt -lSM -lICE -lXinerama -lX11 -lXau -lXdmcp -lXext
+LDADD+= -L${X11BASE}/lib -lXt -lSM -lICE -lXinerama -lX11 ${LIBXCB} -lXau -lXdmcp -lXext
CLEANFILES+= ${CLASS}.ad ${CLASS}_ad.h ssh-askpass.1