From e9c94e8bf327ec5aba4395e93f20f8190c5fef87 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Fri, 9 Feb 2024 10:06:52 +0000 Subject: [PATCH] build: Remove private header files from Meson sources lists MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit They don’t need to be listed there in order to be built, and doing so just means they get pulled into the `g-ir-scanner` command for building `GLib-2.0.gir` and their contents end up being listed as public introspectable API, which is not what we want. Signed-off-by: Philip Withnall Helps: #3231 --- glib/meson.build | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/glib/meson.build b/glib/meson.build index 88861ba6e..077a81f55 100644 --- a/glib/meson.build +++ b/glib/meson.build @@ -331,7 +331,6 @@ glib_sources += files( 'gtimer.c', 'gtimezone.c', 'gtrace.c', - 'gtrace-private.h', 'gtranslit.c', 'gtrashstack.c', 'gtree.c', @@ -341,9 +340,7 @@ glib_sources += files( 'gunicollate.c', 'gunidecomp.c', 'guri.c', - 'guriprivate.h', 'gutils.c', - 'gutilsprivate.h', 'guuid.c', 'gvariant.c', 'gvariant-core.c', @@ -374,7 +371,7 @@ if host_system == 'windows' glib_sources += files('dirent/wdirent.c') endif else - glib_sources += files('glib-unix.c', 'glib-unixprivate.h', 'gspawn.c', 'giounix.c') + glib_sources += files('glib-unix.c', 'gspawn.c', 'giounix.c') platform_deps = [] endif