summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorVolker Grabsch <vog@notjusthosting.com>2012-04-10 04:49:00 (GMT)
committerVolker Grabsch <vog@notjusthosting.com>2012-04-10 04:49:00 (GMT)
commit003362b9aee2fc127b8cedb56733085e3131b127 (patch)
treee73cb74a475a8f8c6f3dca220f2df5dece23a1dc /Makefile
parentd99585da15f5db6c4b821336163a5803759c426e (diff)
downloadmxe-003362b9aee2fc127b8cedb56733085e3131b127.zip
mxe-003362b9aee2fc127b8cedb56733085e3131b127.tar.gz
mxe-003362b9aee2fc127b8cedb56733085e3131b127.tar.bz2
Portability fix: Define $(PWD) before $(SHELL)
For more information, see: http://lists.nongnu.org/archive/html/mingw-cross-env-list/2012-04/msg00004.html
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6c9c346..06767f0 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,9 @@ JOBS := 1
TARGET := i686-pc-mingw32
SOURCEFORGE_MIRROR := kent.dl.sourceforge.net
+PWD := $(shell pwd)
SHELL := bash
+
INSTALL := $(shell ginstall --help >/dev/null 2>&1 && echo g)install
LIBTOOL := $(shell glibtool --help >/dev/null 2>&1 && echo g)libtool
LIBTOOLIZE := $(shell glibtoolize --help >/dev/null 2>&1 && echo g)libtoolize
@@ -17,7 +19,6 @@ REQUIREMENTS := autoconf automake bash bison bzip2 cmake flex \
$(MAKE) openssl $(PATCH) $(PERL) pkg-config \
scons $(SED) unzip wget xz yasm
-PWD := $(shell pwd)
PREFIX := $(PWD)/usr
LOG_DIR := $(PWD)/log
TIMESTAMP := $(shell date +%Y%m%d_%H%M%S)