aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-installer/anaconda/files/0024-fix-cannot-stat-usr-share-gettext-gettext.h.patch
blob: 8e0b554717492e6eee86514b637da8fa49816c48 (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
From 5c5bfe88af639df9cd1e81f762c806f6fd10ce91 Mon Sep 17 00:00:00 2001
From: Hongxu Jia <hongxu.jia@windriver.com>
Date: Sat, 11 Jun 2016 23:25:30 -0400
Subject: [PATCH 24/65] fix cannot stat '/usr/share/gettext/gettext.h'

Tweak location of gettext.h, use sysroots dir to replace host dir.

Upstream-Status: Inappropriate <oe-core specific>

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
 widgets/autogen.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/widgets/autogen.sh b/widgets/autogen.sh
index 55ed5de..eb70eb6 100755
--- a/widgets/autogen.sh
+++ b/widgets/autogen.sh
@@ -9,4 +9,4 @@ rm -rf autom4te.cache
 
 # Remove the old symlink if present
 if [ -h src/gettext.h ] ; then rm src/gettext.h ; fi
-cp -f /usr/share/gettext/gettext.h src
+cp -f ${STAGING_DATADIR_NATIVE}/gettext/gettext.h src
-- 
2.7.4