summaryrefslogtreecommitdiffstats
path: root/meta/recipes-gnome/gcr/gcr/0001-meson-Make-sure-gcr-oids.h-is-built.patch
blob: 3c8902d05e9a6d917ef7655dba2620ff954a718e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
From 9fca6ae0aa7355c27d0922c561b9fbe18dde5b3d Mon Sep 17 00:00:00 2001
From: Niels De Graef <nielsdegraef@gmail.com>
Date: Fri, 19 Jun 2020 22:37:31 +0200
Subject: [PATCH 1/1] meson: Make sure gcr-oids.h is built

Fixes https://gitlab.gnome.org/GNOME/gcr/-/issues/48
---
 gcr/meson.build | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

--- end of original header ---

Upstream-Status:  backport [https://github.com/GNOME/gcr.git]

Signed-off-by: Joe Slater <joe.slater@windriver.com>

---
diff --git a/gcr/meson.build b/gcr/meson.build
index 199452f..06c3a63 100644
--- a/gcr/meson.build
+++ b/gcr/meson.build
@@ -178,7 +178,10 @@ endif
 gcr_base_dep = declare_dependency(
   link_with: gcr_base_lib,
   include_directories: include_directories('..'),
-  sources: gcr_enums_gen[1], # Make sure gcr-enum-types-base.h can be included
+  sources: [
+    gcr_enums_gen[1],
+    gcr_oids[1],
+  ],
 )
 
 if get_option('introspection')
-- 
2.7.4