diff Makefile @ 2380:f89dd4c9e49f

Portability fix: Define $(PWD) before $(SHELL) For more information, see: http://lists.nongnu.org/archive/html/mingw-cross-env-list/2012-04/msg00004.html
author Volker Grabsch <vog@notjusthosting.com>
date Tue, 10 Apr 2012 06:49:00 +0200
parents a4faf4890f13
children 8ccc3595c4de
line wrap: on
line diff
--- a/Makefile	Fri Apr 06 23:54:54 2012 +1000
+++ b/Makefile	Tue Apr 10 06:49:00 2012 +0200
@@ -5,7 +5,9 @@
 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 @@
                 $(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)