[retro-gtk] build-sys: Add build dependencies to Retro-0.6.gir



commit 44f8d2f44fc78be30215b205bc48b8ec618bb3e9
Author: Christophe Fergeau <cfergeau redhat com>
Date:   Tue May 10 10:03:07 2016 +0200

    build-sys: Add build dependencies to Retro-0.6.gir
    
    RetroGtk-0.6.gir depends on the .la files it needs so that 'make' knows
    the corresponding libraries should be built before trying to generate the
    gir file. Retro-0.6.gir does not have such dependency information, which
    broke 'make -j6' on my system as 'make' was trying to generate the .gir
    file before libretro-gobject.la was built.

 retro-gobject/Makefile.am |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/retro-gobject/Makefile.am b/retro-gobject/Makefile.am
index f8d5587..dc45331 100644
--- a/retro-gobject/Makefile.am
+++ b/retro-gobject/Makefile.am
@@ -127,6 +127,7 @@ introspection_sources = $(retro_gobjectinclude_HEADERS)
 
 BUILT_SOURCES += libretro-gobject.la Retro-0.6.gir
 
+Retro-0.6.gir: $(INTROSPECTION_SCANNER) libretro-gobject.la
 Retro_0_6_gir_INCLUDES = GLib-2.0 GObject-2.0 Gio-2.0
 Retro_0_6_gir_SCANNERFLAGS = --c-include=retro-gobject.h --pkg-export=retro-gobject-0.6
 Retro_0_6_gir_CFLAGS = -DRETRO_GOBJECT_USE_UNSTABLE_API $(RETRO_GOBJECT_CFLAGS)


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