Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | Fix DATADIRNAME on uclibc/Linux |
| 2 | |
| 3 | translation files are always installed under PREFIX/share/locale in uclibc |
| 4 | based systems therefore lets set DATADIRNAME to "share". |
| 5 | |
| 6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 7 | Upstream-Status: Pending |
| 8 | Index: glib-2.38.2/m4macros/glib-gettext.m4 |
| 9 | =================================================================== |
| 10 | --- glib-2.38.2.orig/m4macros/glib-gettext.m4 2013-11-07 07:29:13.000000000 -0800 |
| 11 | +++ glib-2.38.2/m4macros/glib-gettext.m4 2014-03-15 14:51:54.712135644 -0700 |
| 12 | @@ -239,7 +239,7 @@ |
| 13 | [CATOBJEXT=.mo |
| 14 | DATADIRNAME=lib]) |
| 15 | ;; |
| 16 | - *-*-openbsd*) |
| 17 | + *-*-openbsd* | *-*-linux-uclibc*) |
| 18 | CATOBJEXT=.mo |
| 19 | DATADIRNAME=share |
| 20 | ;; |