From d0338fec1d26c21a87f5da40131e8c18dddcec94 Mon Sep 17 00:00:00 2001 From: Berke Viktor Date: Fri, 13 Jul 2012 21:17:43 +0200 Subject: [PATCH] Fix HexChat-Text compilation on Linux when NLS is enabled --- src/fe-text/Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/fe-text/Makefile.am b/src/fe-text/Makefile.am index 6a973896..28d48060 100644 --- a/src/fe-text/Makefile.am +++ b/src/fe-text/Makefile.am @@ -1,8 +1,10 @@ +localedir = $(datadir)/locale + bin_PROGRAMS = hexchat-text EXTRA_DIST = README -INCLUDES = $(COMMON_CFLAGS) +INCLUDES = $(COMMON_CFLAGS) -DLOCALEDIR=\"$(localedir)\" hexchat_text_LDADD = ../common/libxchatcommon.a $(COMMON_LIBS) hexchat_text_SOURCES = fe-text.c fe-text.h