po: xgettext_wrapper now respects EXEEXT

This commit is contained in:
Daniel Kolesa 2014-06-16 09:53:57 +01:00
parent f0c906231b
commit f683a2dd2f
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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