From d8367162e8f9c0ab2c8bc98f0033f1e3bfaf2a1f Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sat, 10 Dec 2016 20:12:53 -0500 Subject: pacman: ensure linkage against libarchive Fixes build on ubuntu/debian platforms. Signed-off-by: Allan McRae --- src/pacman/Makefile.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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: -- cgit v1.2.3-24-g4f1b