[pacman-dev] [PATCH 2/2] pacman: ensure linkage against libarchive

Dave Reisner dreisner at archlinux.org
Sun Dec 11 01:12:53 UTC 2016


Fixes build on ubuntu/debian platforms.
---
 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 14572cd..8999f2b 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:
-- 
2.10.2


More information about the pacman-dev mailing list