Portability fix: Define $(PWD) before $(SHELL)

For more information, see:
http://lists.nongnu.org/archive/html/mingw-cross-env-list/2012-04/msg00004.html
This commit is contained in:
Volker Grabsch 2012-04-10 06:49:00 +02:00
parent d99585da15
commit 003362b9ae
1 changed files with 2 additions and 1 deletions

View File

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