summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2023-01-08 00:00:46 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2023-01-08 00:38:33 +0000
commit66114a981cea7f5ae1bb82994989d9480659835b (patch)
tree42eeba58ac5fa5f8bdea87de20d9ed6c20978ce3
parent9fa744744572ecc749b2ff7dbbf271b91440cd7e (diff)
downloadgobject-introspection-66114a981cea7f5ae1bb82994989d9480659835b.tar.gz
build: Add missing GMODULE_COMPILATION symbol
We need to define GMODULE_COMPILATION when building the introspection data for GModule.
-rw-r--r--gir/meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/gir/meson.build b/gir/meson.build
index dc39b475..048e06f3 100644
--- a/gir/meson.build
+++ b/gir/meson.build
@@ -360,6 +360,7 @@ gir_files += custom_target('gir-gmodule',
command: gmodule_command + [
'--include-uninstalled=' + glib_gir.full_path(),
'--cflags-begin'] + glib_includes + extra_giscanner_cflags + [
+ '-DGMODULE_COMPILATION',
'--cflags-end',
'@INPUT@',
]