[gnome-software/wip/rancell/ubuntu-3-20-rebase: 45/52] Build xdg-app-reviews only if ODRS is enabled
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/rancell/ubuntu-3-20-rebase: 45/52] Build xdg-app-reviews only if ODRS is enabled
- Date: Sat, 17 Jun 2017 09:00:17 +0000 (UTC)
commit a4903425a9de6a97c9e52c178a68bd7f92f01745
Author: William Hua <william hua canonical com>
Date: Tue Jun 14 01:41:54 2016 -0400
Build xdg-app-reviews only if ODRS is enabled
src/plugins/Makefile.am | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/Makefile.am b/src/plugins/Makefile.am
index cccb41b..88bf1ba 100644
--- a/src/plugins/Makefile.am
+++ b/src/plugins/Makefile.am
@@ -80,9 +80,11 @@ if HAVE_LIMBA
plugin_LTLIBRARIES += libgs_plugin_limba.la
endif
+if HAVE_XDG_APP
if HAVE_ODRS
plugin_LTLIBRARIES += libgs_plugin_xdg_app_reviews.la
endif
+endif
libgs_plugin_dummy_la_SOURCES = gs-plugin-dummy.c
libgs_plugin_dummy_la_LIBADD = $(GS_PLUGIN_LIBS)
@@ -145,11 +147,13 @@ libgs_plugin_xdg_app_la_LIBADD = $(GS_PLUGIN_LIBS) $(XDG_APP_LIBS)
libgs_plugin_xdg_app_la_LDFLAGS = -module -avoid-version
libgs_plugin_xdg_app_la_CFLAGS = $(GS_PLUGIN_CFLAGS) $(WARN_CFLAGS)
+if HAVE_ODRS
libgs_plugin_xdg_app_reviews_la_SOURCES = gs-plugin-xdg-app-reviews.c
libgs_plugin_xdg_app_reviews_la_LIBADD = $(GS_PLUGIN_LIBS) $(JSON_GLIB_LIBS)
libgs_plugin_xdg_app_reviews_la_LDFLAGS = -module -avoid-version
libgs_plugin_xdg_app_reviews_la_CFLAGS = $(GS_PLUGIN_CFLAGS) $(WARN_CFLAGS)
endif
+endif
if HAVE_APT
ubuntu-unity-launcher-proxy.c ubuntu-unity-launcher-proxy.h: com.canonical.Unity.Launcher.xml Makefile
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]