[gnome-control-center/wip/davidk/meson-source_dir] common: Add gresource sources to common_sources




commit 21226b9973fa222104f9c178269be42323a0b1fe
Author: David King <amigadave amigadave com>
Date:   Wed Feb 16 11:14:12 2022 +0000

    common: Add gresource sources to common_sources
    
    As the gresource source and header are generated, add them to
    common_sources. Follow-up to 234d1aadb78dfea16d001569bcb71a6807598c03.
    Without this, the build fails on s390 as the resources header is not
    generated.

 panels/common/meson.build | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/panels/common/meson.build b/panels/common/meson.build
index 20b9dcf16..b956f7c18 100644
--- a/panels/common/meson.build
+++ b/panels/common/meson.build
@@ -63,9 +63,10 @@ resource_data = files(
   'cc-permission-infobar.ui',
 )
 
-sources += gnome.compile_resources(
+common_sources += gnome.compile_resources(
   'cc-common-resources',
   'common.gresource.xml',
+  source_dir: '.',
   c_name: 'cc_common',
   dependencies: resource_data,
   export: true


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