summaryrefslogtreecommitdiff
path: root/lib/expat
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2007-05-08 21:07:56 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2007-05-08 21:07:56 +0000
commit4209b22887f4adc2506103673a2b16a318d05bd7 (patch)
treed1faa1f6a410d0baf87a1e8adb8c00f11865899c /lib/expat
parentb25ce457076af291262695b78b6d46d1b16dcb62 (diff)
Fix build on systems with static libs only.
Diffstat (limited to 'lib/expat')
-rw-r--r--lib/expat/xmlwf/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/expat/xmlwf/Makefile b/lib/expat/xmlwf/Makefile
index 922e92fdb..8b716a9b2 100644
--- a/lib/expat/xmlwf/Makefile
+++ b/lib/expat/xmlwf/Makefile
@@ -1,11 +1,12 @@
-# $OpenBSD: Makefile,v 1.1 2007/04/26 11:55:28 bernd Exp $
+# $OpenBSD: Makefile,v 1.2 2007/05/08 21:07:55 matthieu Exp $
.include <bsd.own.mk>
PROG= xmlwf
SRCS= xmlwf.c xmlfile.c codepage.c unixfilemap.c
CFLAGS+= -I${.CURDIR}/../ -I${.CURDIR}/../lib/
CPPFLAGS+= -DHAVE_EXPAT_CONFIG_H
-LDFLAGS+= -L${.CURDIR}/../obj -lexpat
+LDFLAGS+= -L${.CURDIR}/../obj
+LDADD+= -lexpat
X11BASE?= /usr/X11R6
MANDIR= ${X11BASE}/man/cat