1From 979d3ddf77abfd00c1e2108cde4aef2d015257b0 Mon Sep 17 00:00:00 2001 2From: Khem Raj <raj.khem@gmail.com> 3Date: Sat, 15 Mar 2014 22:42:29 -0700 4Subject: [PATCH] Fix DATADIRNAME on uclibc/Linux 5 6translation files are always installed under PREFIX/share/locale in uclibc 7based systems therefore lets set DATADIRNAME to "share". 8 9Signed-off-by: Khem Raj <raj.khem@gmail.com> 10Upstream-Status: Pending 11--- 12 m4macros/glib-gettext.m4 | 4 ++++ 13 1 file changed, 4 insertions(+) 14 15diff --git a/m4macros/glib-gettext.m4 b/m4macros/glib-gettext.m4 16index 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 30