summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-07-13 21:17:43 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-07-13 21:17:43 +0200
commitd0338fec1d26c21a87f5da40131e8c18dddcec94 (patch)
tree7e7f5d3bbe0144d3cb756e264da8c49146e4770f
parenta0c0e90f0cb67f34389bcee9bf04e4312d36ac12 (diff)
Fix HexChat-Text compilation on Linux when NLS is enabled
-rw-r--r--src/fe-text/Makefile.am4
1 files changed, 3 insertions, 1 deletions
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