[gtk] Fix an oversight
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] Fix an oversight
- Date: Fri, 1 Oct 2021 03:45:59 +0000 (UTC)
commit 63398759893d46b2c755af9e8bb18d1424afd1e5
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Sep 30 23:45:33 2021 -0400
Fix an oversight
gtk/meson.build | 15 +++++++++++++++
1 file changed, 15 insertions(+)
---
diff --git a/gtk/meson.build b/gtk/meson.build
index 8907c1c6dd..5aeaca6d3b 100644
--- a/gtk/meson.build
+++ b/gtk/meson.build
@@ -901,6 +901,20 @@ if build_machine.system() == 'linux' and objcopy.found() and objcopy_supports_ad
'--manual-register',
'@INPUT@'])
+ gtk_resources_h = custom_target('gtk_resources.h',
+ input : gtk_gresources_xml,
+ depends : theme_deps,
+ output : 'gtk_resources.h',
+ command : [glib_compile_resources,
+ '--target=@OUTPUT@',
+ '--sourcedir=' + meson.current_source_dir(),
+ '--sourcedir=' + meson.current_build_dir(),
+ '--generate-header',
+ '--external-data',
+ '--c-name', '_gtk',
+ '--manual-register',
+ '@INPUT@'])
+
# Create object file containing resource data
gtk_resources_binary = custom_target('gtk_resources.o',
input : gtk_gresource,
@@ -922,6 +936,7 @@ if build_machine.system() == 'linux' and objcopy.found() and objcopy_supports_ad
gtkresources = [
gtk_resources_c,
+ gtk_resources_h,
gtk_resources_o,
]
else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]