projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4beb5f4
)
build: Link ostree with libarchive
author
Joaquim Rocha
<me@joaquimrocha.com>
Mon, 22 Feb 2016 14:02:47 +0000
(15:02 +0100)
committer
Colin Walters
<walters@verbum.org>
Mon, 22 Feb 2016 16:22:24 +0000
(11:22 -0500)
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
Makefile-ostree.am
patch
|
blob
|
history
diff --git
a/Makefile-ostree.am
b/Makefile-ostree.am
index ab4485c65dd3ab8fd9ad7a8b88bb3d4b429eae2e..ff7e372b0ca0b69b7c3279224843bafbe95a8579 100644
(file)
--- 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