From f683a2dd2f0bd4884614f3fd823fe91c579dffe9 Mon Sep 17 00:00:00 2001 From: Daniel Kolesa Date: Mon, 16 Jun 2014 09:53:57 +0100 Subject: [PATCH] po: xgettext_wrapper now respects EXEEXT --- po/Makevars.in | 3 ++- po/xgettext_wrapper.sh | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/po/Makevars.in b/po/Makevars.in index b1663e71de..a04b074fcd 100644 --- a/po/Makevars.in +++ b/po/Makevars.in @@ -13,7 +13,8 @@ XGETTEXT_FALLBACK := $(XGETTEXT) # Override xgettext with a LuaJIT aware variant (which calls # into plain xgettext if it needs to, and handles Lua on its own) XGETTEXT = ELUA=@elua_bin@ ELUA_INTREE=$(top_srcdir)/src/bin/elua/elua \ - XGETTEXT=$(XGETTEXT_FALLBACK) $(top_srcdir)/po/xgettext_wrapper.sh + XGETTEXT=$(XGETTEXT_FALLBACK) ELUA_EXT=@EXEEXT@ \ + $(top_srcdir)/po/xgettext_wrapper.sh # These options get passed to xgettext. XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ --from-code=UTF-8 --foreign-user diff --git a/po/xgettext_wrapper.sh b/po/xgettext_wrapper.sh index 73463bc4c7..050bae5505 100755 --- a/po/xgettext_wrapper.sh +++ b/po/xgettext_wrapper.sh @@ -3,7 +3,7 @@ ELUA_BIN="$ELUA" if [ ! "$ELUA_BIN" ]; then - ELUA_BIN="$ELUA_INTREE" + ELUA_BIN="${ELUA_INTREE}${ELUA_EXT}" export EFL_RUN_IN_TREE=1 fi