From 3cf77f3aa9e1e61cb9254bbf065064490fa304da Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Tue, 29 May 2018 09:38:01 +0200 Subject: [PATCH] GI: Include the right sources when building introspection We forgot to include the sources. Also, we rename the valgrind header to -private to avoid gtk-doc blowing its mind trying to parse it. Closes: #1729 Approved by: alexlarsson --- common/Makefile.am.inc | 4 +++- common/flatpak-utils.c | 2 +- common/{valgrind.h => valgrind-private.h} | 0 3 files changed, 4 insertions(+), 2 deletions(-) rename common/{valgrind.h => valgrind-private.h} (100%) diff --git a/common/Makefile.am.inc b/common/Makefile.am.inc index 502bfc81..b7b08b95 100644 --- a/common/Makefile.am.inc +++ b/common/Makefile.am.inc @@ -112,7 +112,7 @@ libflatpak_common_la_SOURCES = \ common/flatpak-remote.c \ common/flatpak-error.c \ common/flatpak-installation.c \ - common/valgrind.h \ + common/valgrind-private.h \ $(NULL) libflatpak_common_la_CFLAGS = \ @@ -183,6 +183,8 @@ test_libflatpak_LDADD = \ # gobject-introspection rules -include $(INTROSPECTION_MAKEFILE) +sources = $(libflatpak_common_la_SOURCES) $(libflatpak_la_SOURCES) + INTROSPECTION_GIRS = if HAVE_INTROSPECTION diff --git a/common/flatpak-utils.c b/common/flatpak-utils.c index 02d24a90..2bd8d21e 100644 --- a/common/flatpak-utils.c +++ b/common/flatpak-utils.c @@ -25,7 +25,7 @@ #include "flatpak-dir-private.h" #include "flatpak-oci-registry-private.h" #include "flatpak-run-private.h" -#include "valgrind.h" +#include "valgrind-private.h" #include diff --git a/common/valgrind.h b/common/valgrind-private.h similarity index 100% rename from common/valgrind.h rename to common/valgrind-private.h