[gnome-software/gnome-3-24] Fix building the external-appstream plugin



commit 884b3f15d06e3d06c6316f9851495f8404b1ff59
Author: Joaquim Rocha <jrocha endlessm com>
Date:   Thu May 4 12:09:49 2017 +0200

    Fix building the external-appstream plugin
    
    A few flags were missing.

 plugins/external-appstream/Makefile.am |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/plugins/external-appstream/Makefile.am b/plugins/external-appstream/Makefile.am
index 3e323cb..cb6879b 100644
--- a/plugins/external-appstream/Makefile.am
+++ b/plugins/external-appstream/Makefile.am
@@ -1,5 +1,8 @@
 AM_CPPFLAGS =                                          \
-       -DG_LOG_DOMAIN=\"GsPluginExternalAppstream\"
+       -DG_LOG_DOMAIN=\"GsPluginExternalAppstream\"    \
+       -DLIBEXECDIR=\"$(libexecdir)\"                  \
+       -DLOCALEDIR=\""$(localedir)"\"                  \
+       -DLOCALSTATEDIR=\""$(localstatedir)"\"
 
 plugindir = $(GS_PLUGIN_DIR)
 plugin_LTLIBRARIES = libgs_plugin_external-appstream.la
@@ -12,7 +15,7 @@ libgs_plugin_external_appstream_la_CFLAGS = $(GS_PLUGIN_CFLAGS) $(SOUP_CFLAGS)
 libexec_PROGRAMS = gnome-software-install-appstream
 gnome_software_install_appstream_SOURCES = gs-install-appstream.c
 gnome_software_install_appstream_LDADD = $(GLIB_LIBS) $(APPSTREAM_LIBS)
-gnome_software_install_appstream_CFLAGS = $(WARN_CFLAGS)
+gnome_software_install_appstream_CFLAGS = $(APPSTREAM_CFLAGS) $(PIE_CFLAGS) $(WARN_CFLAGS)
 gnome_software_install_appstream_LDFLAGS = $(PIE_LDFLAGS) $(RELRO_LDFLAGS)
 
 -include $(top_srcdir)/git.mk


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]