diff options
author | Dan Nicholson <dbn@endlessos.org> | 2023-04-13 10:05:01 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-13 10:05:01 -0600 |
commit | e509b24a01a949cab6cda18c39263d6ce88d62fe (patch) | |
tree | f7f165dd36e920ba9d19c83f3dc1d19c175ff89a /Makefile-libostree.am | |
parent | c9271423b1c780ccb9ff47685d22d744968d9d19 (diff) | |
parent | a0407225f15415ddf207c25201c48445418ab964 (diff) | |
download | ostree-e509b24a01a949cab6cda18c39263d6ce88d62fe.tar.gz |
Merge pull request #2547 from q66/soup3
port to libsoup3
Diffstat (limited to 'Makefile-libostree.am')
-rw-r--r-- | Makefile-libostree.am | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile-libostree.am b/Makefile-libostree.am index 52ea49d4..d18714ae 100644 --- a/Makefile-libostree.am +++ b/Makefile-libostree.am @@ -221,18 +221,25 @@ libostree_1_la_SOURCES += \ $(NULL) endif +# Only enable one fetcher backend. if USE_CURL libostree_1_la_SOURCES += src/libostree/ostree-fetcher-curl.c \ $(NULL) libostree_1_la_CFLAGS += $(OT_DEP_CURL_CFLAGS) libostree_1_la_LIBADD += $(OT_DEP_CURL_LIBS) else +if USE_LIBSOUP3 +libostree_1_la_SOURCES += src/libostree/ostree-fetcher-soup3.c +libostree_1_la_CFLAGS += $(OT_INTERNAL_SOUP_CFLAGS) +libostree_1_la_LIBADD += $(OT_INTERNAL_SOUP_LIBS) +else if USE_LIBSOUP libostree_1_la_SOURCES += src/libostree/ostree-fetcher-soup.c libostree_1_la_CFLAGS += $(OT_INTERNAL_SOUP_CFLAGS) libostree_1_la_LIBADD += $(OT_INTERNAL_SOUP_LIBS) endif endif +endif if USE_LIBMOUNT libostree_1_la_CFLAGS += $(OT_DEP_LIBMOUNT_CFLAGS) |