[libdmapsharing] lib: Fix gir generation with srcdir != builddir



commit 18bdf62a65a6fd7e280a20c30417e69d484f6eec
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Jun 26 15:35:04 2017 +0200

    lib: Fix gir generation with srcdir != builddir
    
    The generated enums file will live in builddir, not srcdir:
    
    libdmapsharing/dmap.h:11:10: fatal error: libdmapsharing/dmap-enums.h: No such file or directory
     #include <libdmapsharing/dmap-enums.h>
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    https://bugzilla.gnome.org/show_bug.cgi?id=784221
    
    Signed-off-by: W. Michael Petullo <mike flyn org>

 libdmapsharing/Makefile.am |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libdmapsharing/Makefile.am b/libdmapsharing/Makefile.am
index b1fe686..b8fdee5 100644
--- a/libdmapsharing/Makefile.am
+++ b/libdmapsharing/Makefile.am
@@ -53,6 +53,7 @@ endif
 libdmapsharing_3_0_la_CFLAGS = \
        -DG_LOG_DOMAIN=\"libdmapsharing\" \
        -I$(top_srcdir) \
+       -I$(top_builddir) \
        $(GDKPIXBUF_CFLAGS) \
        $(SOUP_CFLAGS) \
        $(GSTREAMERAPP_CFLAGS) \


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