summaryrefslogtreecommitdiff
path: root/dpkg-split
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2008-02-04 08:07:40 +0200
committerGuillem Jover <guillem@debian.org>2008-02-04 09:18:37 +0200
commitf0325f1a3158f829c784f4e4aaa279550c2e361c (patch)
tree00fd41d13ec9fa086f3a574572cfef5218dfc028 /dpkg-split
parent54c6eb9d08ee310cec9604d018a1d496a838827e (diff)
downloaddpkg-f0325f1a3158f829c784f4e4aaa279550c2e361c.tar.gz
Use functions from libcompat when those are not provided by the system
Diffstat (limited to 'dpkg-split')
-rw-r--r--dpkg-split/Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/dpkg-split/Makefile.am b/dpkg-split/Makefile.am
index ff6c34b42..7d85d15ce 100644
--- a/dpkg-split/Makefile.am
+++ b/dpkg-split/Makefile.am
@@ -4,6 +4,7 @@ localedir = $(datadir)/locale
INCLUDES = \
-DLOCALEDIR=\"$(localedir)\" \
-DADMINDIR=\"$(admindir)\" -DMKSPLITSCRIPT=\"$(pkglibdir)/mksplit\" \
+ -idirafter $(top_srcdir)/libcompat \
-I$(top_srcdir)/lib
@@ -17,7 +18,10 @@ dpkg_split_SOURCES = \
queue.c \
split.c
-dpkg_split_LDADD = $(LIBINTL) ../lib/libdpkg.a
+dpkg_split_LDADD = \
+ ../libcompat/libcompat.a \
+ $(LIBINTL) \
+ ../lib/libdpkg.a
pkglib_SCRIPTS = mksplit