summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolker Grabsch <vog@notjusthosting.com>2008-11-10 08:07:29 (GMT)
committerVolker Grabsch <vog@notjusthosting.com>2008-11-10 08:07:29 (GMT)
commit4956121a44ce157002fe52849b5d5cfec82ee3de (patch)
treecaa9dddca5bd64480e45f8e1d2d1d859073425ff
parent6546c7595ba3214af9ca304b38b1aa1b0001b6b0 (diff)
downloadmxe-4956121a44ce157002fe52849b5d5cfec82ee3de.zip
mxe-4956121a44ce157002fe52849b5d5cfec82ee3de.tar.gz
mxe-4956121a44ce157002fe52849b5d5cfec82ee3de.tar.bz2
add 'SHELL=bash' hints where necessary, so it works on systems where /bin/sh isn't a Bash
-rw-r--r--Makefile1
-rw-r--r--src/gettext.mk2
2 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 13f08d1..8364fe7 100644
--- a/Makefile
+++ b/Makefile
@@ -10,6 +10,7 @@ PREFIX := $(PWD)/usr
PKG_DIR := $(PWD)/pkg
TMP_DIR = $(PWD)/tmp-$(1)
PATH := $(PREFIX)/bin:$(PATH)
+SHELL := bash
SED := $(shell gsed --version >/dev/null 2>&1 && echo g)sed
PKG_RULES := $(patsubst src/%.mk,%,$(wildcard src/*.mk))
diff --git a/src/gettext.mk b/src/gettext.mk
index 62dadcb..51c2aa2 100644
--- a/src/gettext.mk
+++ b/src/gettext.mk
@@ -21,5 +21,5 @@ define $(PKG)_BUILD
--disable-shared \
--prefix='$(PREFIX)/$(TARGET)' \
--enable-threads=win32
- $(MAKE) -C '$(1)/intl' -j '$(JOBS)' install
+ $(MAKE) -C '$(1)/intl' -j '$(JOBS)' SHELL=bash install
endef