summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-03-30 14:30:08 -0400
committerDave Reisner <dreisner@archlinux.org>2012-04-08 18:48:31 -0400
commit059c572ca5c0f3ac9d90c53f0c0bdc8e4fb0336f (patch)
treec88f0f463a3fbf2b4bed1d7b37e05f9999aed83a /lib
parentc5d951846d6b803909cbd7cfeac643f5feb42911 (diff)
downloadpacman-059c572ca5c0f3ac9d90c53f0c0bdc8e4fb0336f.tar.xz
buildsys: use pkg-config for libarchive detection
This also introduces a versioned dependency of >=2.8.0. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/libalpm/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libalpm/Makefile.am b/lib/libalpm/Makefile.am
index 8d1be908..3773f2df 100644
--- a/lib/libalpm/Makefile.am
+++ b/lib/libalpm/Makefile.am
@@ -67,10 +67,12 @@ libalpm_la_LDFLAGS = -no-undefined -version-info $(LIB_VERSION_INFO) @LIBCURL@
libalpm_la_CFLAGS = \
$(AM_CFLAGS) \
+ $(LIBARCHIVE_CFLAGS) \
$(LIBSSL_CFLAGS)
libalpm_la_LIBADD = \
$(LTLIBINTL) \
+ $(LIBARCHIVE_LIBS) \
$(LIBSSL_LIBS)
# vim:set ts=2 sw=2 noet: