mirror of
https://github.com/thead-yocto-mirror/meta-openembedded
synced 2026-09-17 12:41:58 +02:00
Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
44 lines
1.5 KiB
Diff
44 lines
1.5 KiB
Diff
From 6ab00a4279823829a9b82dc9e4d055da4de88c6e Mon Sep 17 00:00:00 2001
|
|
From: Markus Volk <f_l_k@t-online.de>
|
|
Date: Mon, 12 Dec 2022 15:42:42 +0100
|
|
Subject: [PATCH] fix crosscompile
|
|
|
|
Signed-off-by: Markus Volk <f_l_k@t-online.de>
|
|
|
|
Upstream-Status: Inappropriate [oe-specific]
|
|
---
|
|
data/meson.build | 2 +-
|
|
meson.build | 2 +-
|
|
tools/meson.build | 9 +++++++++
|
|
3 files changed, 11 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/data/meson.build b/data/meson.build
|
|
index aea0cb25..1a085fc9 100644
|
|
--- a/data/meson.build
|
|
+++ b/data/meson.build
|
|
@@ -14,7 +14,7 @@ install_data('its/metainfo.loc',
|
|
metainfo_with_relinfo = custom_target('gen-output',
|
|
input : ['../NEWS', 'org.freedesktop.appstream.cli.metainfo.xml'],
|
|
output : ['nol10n_withrelinfo_org.freedesktop.appstream.cli.metainfo.xml'],
|
|
- command : [ascli_exe, 'news-to-metainfo', '--limit=6', '@INPUT0@', '@INPUT1@', '@OUTPUT@']
|
|
+ command : ['appstreamcli', 'news-to-metainfo', '--limit=6', '@INPUT0@', '@INPUT1@', '@OUTPUT@']
|
|
)
|
|
|
|
metainfo_i18n = i18n.itstool_join(
|
|
diff --git a/meson.build b/meson.build
|
|
index fd0e3373..2f273ada 100644
|
|
--- a/meson.build
|
|
+++ b/meson.build
|
|
@@ -124,7 +124,7 @@ if get_option ('gir')
|
|
dependency('gobject-introspection-1.0', version: '>=1.56')
|
|
endif
|
|
|
|
-stemmer_inc_dirs = include_directories(['/usr/include'])
|
|
+stemmer_inc_dirs = include_directories([''])
|
|
if get_option('stemming')
|
|
stemmer_lib = cc.find_library('stemmer', required: true)
|
|
if not cc.has_header('libstemmer.h')
|
|
--
|
|
2.34.1
|
|
|