summaryrefslogtreecommitdiffstats
path: root/discover/Makefile.am
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2014-07-28 12:09:14 +0800
committerJeremy Kerr <jk@ozlabs.org>2014-07-28 14:23:11 +0800
commit2a44f3c936f948d6fedc4729dbf2216da558e490 (patch)
tree6b225bea0cf0969c5fa1767c19aa7fe7f1d7d499 /discover/Makefile.am
parent9330aba60a05a8d9889dab42bc92b9ebbc55941b (diff)
downloadtalos-petitboot-2a44f3c936f948d6fedc4729dbf2216da558e490.tar.gz
talos-petitboot-2a44f3c936f948d6fedc4729dbf2216da558e490.zip
discover: Add setlocale calls in discover server
We want the discover server to respect the configured language, so we'll need to add appropriate setlocale() calls. We use the config->lang setting to use any previously-saved language. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'discover/Makefile.am')
-rw-r--r--discover/Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/discover/Makefile.am b/discover/Makefile.am
index 5d5f5b4..01c29d7 100644
--- a/discover/Makefile.am
+++ b/discover/Makefile.am
@@ -16,7 +16,9 @@ pkgsysconfdir = @sysconfdir@/@PACKAGE@
SUBDIRS = grub2
-AM_CPPFLAGS = -I$(top_srcdir)/lib $(DEFAULT_CPPFLAGS)
+AM_CPPFLAGS = -I$(top_srcdir)/lib \
+ -DLOCALEDIR='"$(localedir)"' \
+ $(DEFAULT_CPPFLAGS)
AM_CFLAGS = $(DEFAULT_CFLAGS) \
-DPREFIX='"$(prefix)"' \
OpenPOWER on IntegriCloud