From 003362b9aee2fc127b8cedb56733085e3131b127 Mon Sep 17 00:00:00 2001 From: Volker Grabsch Date: Tue, 10 Apr 2012 06:49:00 +0200 Subject: [PATCH] Portability fix: Define $(PWD) before $(SHELL) For more information, see: http://lists.nongnu.org/archive/html/mingw-cross-env-list/2012-04/msg00004.html --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6c9c3468..06767f01 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)