diff options
author | Bruno Haible <bruno@clisp.org> | 2003-03-17 09:38:55 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2009-06-23 12:10:16 +0200 |
commit | e71d76e1cdca1bcdbb9c0dbbeb49e8921a6289ba (patch) | |
tree | d990a6fe9a5a1eb1a290ca693376e2cad861760e /gettext-tools/src/msgfmt.c | |
parent | 5967fb4853108dfc88b79a05a74df4571d262b39 (diff) | |
download | external_gettext-e71d76e1cdca1bcdbb9c0dbbeb49e8921a6289ba.zip external_gettext-e71d76e1cdca1bcdbb9c0dbbeb49e8921a6289ba.tar.gz external_gettext-e71d76e1cdca1bcdbb9c0dbbeb49e8921a6289ba.tar.bz2 |
Support for relocatable installation.
Diffstat (limited to 'gettext-tools/src/msgfmt.c')
-rw-r--r-- | gettext-tools/src/msgfmt.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gettext-tools/src/msgfmt.c b/gettext-tools/src/msgfmt.c index c43a68a..29c0a98 100644 --- a/gettext-tools/src/msgfmt.c +++ b/gettext-tools/src/msgfmt.c @@ -33,6 +33,7 @@ #include "dir-list.h" #include "error.h" #include "progname.h" +#include "relocatable.h" #include "basename.h" #include "xerror.h" #include "format.h" @@ -214,7 +215,7 @@ main (int argc, char *argv[]) #endif /* Set the text message domain. */ - bindtextdomain (PACKAGE, LOCALEDIR); + bindtextdomain (PACKAGE, relocate (LOCALEDIR)); textdomain (PACKAGE); while ((opt = getopt_long (argc, argv, "a:cCd:D:fhjl:o:r:vV", long_options, |