summaryrefslogtreecommitdiff
path: root/Makefile-ostree.am
diff options
context:
space:
mode:
authorJoaquim Rocha <me@joaquimrocha.com>2016-02-22 15:02:47 +0100
committerColin Walters <walters@verbum.org>2016-02-22 11:22:24 -0500
commit6821ca1029c36440a74c17c14c29ea57f2dcfa17 (patch)
treecee61a98c2c70ddc2a612e31dd1dcc08539db4fc /Makefile-ostree.am
parent4beb5f4eaf619f1c47762bb872099e24f3efe2f0 (diff)
downloadostree-6821ca1029c36440a74c17c14c29ea57f2dcfa17.tar.gz
build: Link ostree with libarchive
libarchive (when available) is being used in ot-builtin-export.c so it is necessary to link ostree with it. https://bugzilla.gnome.org/show_bug.cgi?id=762457
Diffstat (limited to 'Makefile-ostree.am')
-rw-r--r--Makefile-ostree.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile-ostree.am b/Makefile-ostree.am
index ab4485c6..ff7e372b 100644
--- a/Makefile-ostree.am
+++ b/Makefile-ostree.am
@@ -108,3 +108,8 @@ ostree_SOURCES += \
ostree_CFLAGS += $(OT_INTERNAL_SOUP_CFLAGS)
ostree_LDADD += $(OT_INTERNAL_SOUP_LIBS)
endif
+
+if USE_LIBARCHIVE
+ostree_CFLAGS += $(OT_DEP_LIBARCHIVE_CFLAGS)
+ostree_LDADD += $(OT_DEP_LIBARCHIVE_LIBS)
+endif