summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile1
-rw-r--r--update.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 807ab83..be6a5df 100644
--- a/Makefile
+++ b/Makefile
@@ -14,7 +14,6 @@ BASELIBS += -lrt -lz -larchive -ldl -lcrypto -luuid
BASELIBS += $(shell mysql_config --libs_r)
BASELIBS += $(shell pkg-config --cflags --libs jansson)
-
HLIB = -L./lib -lhorchi
DLIBS = $(HLIB) $(BASELIBS) -lcurl $(shell pkg-config libxml-2.0 --libs) $(shell pkg-config libxslt --libs) -lexslt
HTTPLIBS = $(HLIB) -lmicrohttpd $(BASELIBS) -lcurl $(shell pkg-config libxml-2.0 --libs) $(shell pkg-config libxslt --libs) -lexslt -ljpeg $(shell pkg-config imlib2 --libs)
diff --git a/update.c b/update.c
index 281ccdc..8cf9a64 100644
--- a/update.c
+++ b/update.c
@@ -129,6 +129,8 @@ cEpgd::cEpgd()
// set a locale to "" means 'reset it to the environment'
// as defined by the ISO-C standard the locales after start are C
+ // #TODO - did we have to use LC_ALL at least for strftime ?!!
+
setlocale(LC_CTYPE, "");
lang = setlocale(LC_CTYPE, 0); // 0 for query the setting