summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2019-11-18 09:19:40 -0800
committerJohn Stebbins <[email protected]>2019-11-18 09:23:43 -0800
commit3ac6e3c70fe677ef00a737f75f5d331b43633123 (patch)
treed76bef627213e12d1d234c21456c374b4e15ac55
parent87f53850789ebeca57a9fafadc1d59b5daf4bd13 (diff)
LinGui: fix gui internationalization support
When converting from using intltool to gnu gettext, the definition of DATADIRNAME was lost and resulted in an incorrect base directory in the call to bindtextdomain. Fixes https://github.com/HandBrake/HandBrake/issues/2438 (cherry picked from commit 31254efcc4e64db44f2404c850b9f76e23e7c36c)
-rw-r--r--gtk/src/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/src/Makefile.am b/gtk/src/Makefile.am
index 0ef6aa34e..68504bae6 100644
--- a/gtk/src/Makefile.am
+++ b/gtk/src/Makefile.am
@@ -51,7 +51,7 @@ DISTCLEANFILES = \
$(appdata_files)
AM_CPPFLAGS = \
- -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
+ -DPACKAGE_LOCALE_DIR=\""$(datadir)/locale"\" \
-DPACKAGE_SRC_DIR=\""$(srcdir)"\" \
-DPACKAGE_DATA_DIR=\""$(datadir)"\" \
$(HB_CPPFLAGS)