File: build-fix-cross-building.patch

package info (click to toggle)
gnome-recipes 2.0.4-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 25,272 kB
  • sloc: ansic: 33,936; xml: 241; makefile: 198; sh: 172; python: 26
file content (21 lines) | stat: -rw-r--r-- 676 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Rasmus Thomsen <cogitri@exherbo.org>
Date: Sat, 15 Sep 2018 22:00:37 +0200
Subject: build: fix cross building

(cherry picked from commit 3ad8307fda4f713d9105ff8de4bd049e3167057d)

Origin: upstream, after 2.0.4
---
 tools/meson.build | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tools/meson.build b/tools/meson.build
index 39d14cf..0130ba0 100644
--- a/tools/meson.build
+++ b/tools/meson.build
@@ -1,3 +1,4 @@
 recipe_extract = executable('recipe-extract', 'recipe-extract.c',
            include_directories : top_inc,
-           dependencies: deps)
+           dependencies : dependency('glib-2.0', native: true),
+           native : true)