[hitori] build: Fix definition of PACKAGE_LOCALE_DIR



commit b91ab2d3aed8429774439edc92b3ce90cddf60ec
Author: Philip Withnall <philip withnall collabora co uk>
Date:   Thu Mar 3 20:39:21 2016 +0000

    build: Fix definition of PACKAGE_LOCALE_DIR
    
    This is passed to bindtextdomain() to allow it to find translations, so
    needs to be correct for translations to work.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=763056

 Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index a82941a..aaf4ab9 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -20,7 +20,7 @@ nodist_src_hitori_SOURCES = \
        $(NULL)
 
 src_hitori_CPPFLAGS = \
-       -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
+       -DPACKAGE_LOCALE_DIR=\""$(datadir)/locale"\" \
        -DPACKAGE_SRC_DIR=\""$(srcdir)"\" \
        -DPACKAGE_DATA_DIR=\""$(datadir)"\" \
        $(DISABLE_DEPRECATED) \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]