From 10f09e8488eb6d7b3a29058791d0aec1fdcf6d38 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Thu, 7 Dec 2017 12:04:08 +0100 Subject: [PATCH] Makefile.am: Build libgce ony when liboauth is available. libgce uses oauth_parse_json_token() from liboauth. --- Makefile.am | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Makefile.am b/Makefile.am index 266ff10c..8a9710cd 100644 --- a/Makefile.am +++ b/Makefile.am @@ -599,11 +599,7 @@ test_utils_oauth_LDADD = \ liboauth.la \ libcommon.la \ libplugin_mock.la -endif -endif -endif -if BUILD_WITH_LIBCURL noinst_LTLIBRARIES += libgce.la libgce_la_SOURCES = \ src/utils_gce.c \ @@ -614,6 +610,8 @@ libgce_la_CPPFLAGS = \ libgce_la_LIBADD = \ $(BUILD_WITH_LIBCURL_LIBS) endif +endif +endif if BUILD_WITH_LIBYAJL2 noinst_LTLIBRARIES += libformat_stackdriver.la -- 2.11.0