[gcab] build-sys: Fix dependency on generated .h file



commit 199138f55dfc6b4c6109862518e28e5456078189
Author: Philip Chimento <philip chimento gmail com>
Date:   Sun Nov 13 14:11:58 2016 -0800

    build-sys: Fix dependency on generated .h file
    
    Otherwise there is a race between gcab-enums.h being generated and
    included in other compilations.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=774342

 Makefile.am |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 062f0f5..9fd2bc6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -59,6 +59,7 @@ libgcab_1_0_la_LDFLAGS =                              \
        -no-undefined                                   \
        $(NULL)
 libgcab_1_0_la_DEPENDENCIES = libgcab.syms
+libgcab/gcab-priv.h: libgcab/gcab-enums.h
 
 if HAVE_VSCRIPT
 libgcab_1_0_la_LDFLAGS += $(VSCRIPT_LDFLAGS),${srcdir}/libgcab.syms


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