[gnome-settings-daemon] common: Ensure enums are generated before sources are built



commit acc58ea8058d92ad700d97539f196d6edc69ca3f
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Wed Oct 7 19:01:53 2015 -0500

    common: Ensure enums are generated before sources are built
    
    Probably fixes this build race:
    
    gsd-device-manager.c: In function 'gsd_device_class_init':
    gsd-device-manager.c:208:13: error: 'GSD_TYPE_DEVICE_TYPE' undeclared
    (first use in this function)
                 GSD_TYPE_DEVICE_TYPE, 0,
                 ^
    
    https://bugzilla.gnome.org/show_bug.cgi?id=756212

 plugins/common/Makefile.am |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/plugins/common/Makefile.am b/plugins/common/Makefile.am
index 7dd4219..0f85351 100644
--- a/plugins/common/Makefile.am
+++ b/plugins/common/Makefile.am
@@ -3,6 +3,7 @@ plugin_name = common
 noinst_LTLIBRARIES = libcommon.la
 
 GSD_COMMON_ENUM_FILES = gsd-common-enums.c gsd-common-enums.h
+BUILT_SOURCES = $(GSD_COMMON_ENUM_FILES)
 
 gsd-common-enums.h: gsd-device-manager.h Makefile
        $(AM_V_GEN)($(GLIB_MKENUMS) \


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