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