diff options
author | John Stebbins <[email protected]> | 2019-11-18 09:19:40 -0800 |
---|---|---|
committer | John Stebbins <[email protected]> | 2019-11-18 09:23:43 -0800 |
commit | 3ac6e3c70fe677ef00a737f75f5d331b43633123 (patch) | |
tree | d76bef627213e12d1d234c21456c374b4e15ac55 | |
parent | 87f53850789ebeca57a9fafadc1d59b5daf4bd13 (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.am | 2 |
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) |