diff options
Diffstat (limited to 'meta/recipes-core/glib-2.0/files/0001-Fix-DATADIRNAME-on-uclibc-Linux.patch')
-rw-r--r-- | meta/recipes-core/glib-2.0/files/0001-Fix-DATADIRNAME-on-uclibc-Linux.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-core/glib-2.0/files/0001-Fix-DATADIRNAME-on-uclibc-Linux.patch b/meta/recipes-core/glib-2.0/files/0001-Fix-DATADIRNAME-on-uclibc-Linux.patch new file mode 100644 index 0000000000..b9c9706fc4 --- /dev/null +++ b/meta/recipes-core/glib-2.0/files/0001-Fix-DATADIRNAME-on-uclibc-Linux.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | From 55c49c51d8db5af15132653003d2b65a5215eebf Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sat, 15 Mar 2014 22:42:29 -0700 | ||
4 | Subject: [PATCH] Fix DATADIRNAME on uclibc/Linux | ||
5 | |||
6 | translation files are always installed under PREFIX/share/locale in uclibc | ||
7 | based systems therefore lets set DATADIRNAME to "share". | ||
8 | |||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
10 | Upstream-Status: Pending | ||
11 | --- | ||
12 | m4macros/glib-gettext.m4 | 4 ++++ | ||
13 | 1 file changed, 4 insertions(+) | ||
14 | |||
15 | diff --git a/m4macros/glib-gettext.m4 b/m4macros/glib-gettext.m4 | ||
16 | index df6fbf0..47db864 100644 | ||
17 | --- a/m4macros/glib-gettext.m4 | ||
18 | +++ b/m4macros/glib-gettext.m4 | ||
19 | @@ -293,6 +293,10 @@ msgstr "" | ||
20 | CATOBJEXT=.mo | ||
21 | DATADIRNAME=share | ||
22 | ;; | ||
23 | + *-*-musl* | *-*-linux-uclibc*) | ||
24 | + CATOBJEXT=.gmo | ||
25 | + DATADIRNAME=share | ||
26 | + ;; | ||
27 | *) | ||
28 | CATOBJEXT=.mo | ||
29 | DATADIRNAME=lib | ||