summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2016-12-11 02:12:53 +0100
committerAllan McRae <allan@archlinux.org>2017-01-04 04:59:14 +0100
commitd8367162e8f9c0ab2c8bc98f0033f1e3bfaf2a1f (patch)
tree86ae56bcce8cd8844fdc9538ef0ca19a201dd92c
parentd0a5766e24dd12d277bb9237e204f7c10f4981ac (diff)
downloadpacman-d8367162e8f9c0ab2c8bc98f0033f1e3bfaf2a1f.tar.gz
pacman-d8367162e8f9c0ab2c8bc98f0033f1e3bfaf2a1f.tar.xz
pacman: ensure linkage against libarchive
Fixes build on ubuntu/debian platforms. Signed-off-by: Allan McRae <allan@archlinux.org>
-rw-r--r--src/pacman/Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/pacman/Makefile.am b/src/pacman/Makefile.am
index 14572cd4..8999f2b7 100644
--- a/src/pacman/Makefile.am
+++ b/src/pacman/Makefile.am
@@ -47,6 +47,9 @@ pacman_SOURCES = \
util.h util.c \
util-common.h util-common.c
-LDADD = $(LTLIBINTL) $(top_builddir)/lib/libalpm/.libs/libalpm.la
+pacman_LDADD = \
+ $(LTLIBINTL) \
+ $(top_builddir)/lib/libalpm/.libs/libalpm.la \
+ $(LIBARCHIVE_LIBS)
# vim:set noet: