summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/glib-2.0/glib-2.0/uclibc.patch
blob: 2a154fdd4a0870e4f900d458045a5e632d3c985e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Fix DATADIRNAME on uclibc/Linux

translation files are always installed under PREFIX/share/locale in uclibc
based systems therefore lets set DATADIRNAME to "share".

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upstream-Status: Pending
Index: glib-2.38.2/m4macros/glib-gettext.m4
===================================================================
--- glib-2.38.2.orig/m4macros/glib-gettext.m4	2013-11-07 07:29:13.000000000 -0800
+++ glib-2.38.2/m4macros/glib-gettext.m4	2014-03-15 14:51:54.712135644 -0700
@@ -239,7 +239,7 @@
 	      [CATOBJEXT=.mo
                DATADIRNAME=lib])
 	    ;;
-	    *-*-openbsd*)
+	    *-*-openbsd* | *-*-linux-uclibc*)
 	    CATOBJEXT=.mo
             DATADIRNAME=share
 	    ;;