aboutsummaryrefslogtreecommitdiffstats
path: root/scd
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--scd/Makefile.am3
-rw-r--r--scd/scdaemon.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/scd/Makefile.am b/scd/Makefile.am
index 6639aa1c1..b306a3a73 100644
--- a/scd/Makefile.am
+++ b/scd/Makefile.am
@@ -18,6 +18,9 @@
## Process this file with automake to produce Makefile.in
+localedir = $(datadir)/locale
+INCLUDES = -I../intl -DLOCALEDIR=\"$(localedir)\"
+
bin_PROGRAMS = scdaemon
AM_CPPFLAGS = -I$(top_srcdir)/common $(LIBOPENSC_CFLAGS) $(LIBGCRYPT_CFLAGS) \
diff --git a/scd/scdaemon.c b/scd/scdaemon.c
index 1d8bad21d..29256d811 100644
--- a/scd/scdaemon.c
+++ b/scd/scdaemon.c
@@ -138,7 +138,7 @@ i18n_init (void)
#else
#ifdef ENABLE_NLS
/* gtk_set_locale (); HMMM: We have not yet called gtk_init */
- bindtextdomain( PACKAGE, GNUPG_LOCALEDIR );
+ bindtextdomain( PACKAGE, LOCALEDIR );
textdomain( PACKAGE );
#endif
#endif