summaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/test/Makefile
diff options
context:
space:
mode:
authorPeter Eisentraut2009-01-05 09:54:13 +0000
committerPeter Eisentraut2009-01-05 09:54:13 +0000
commit46866e92bd89f1e81a2dbe45a8c1997f23f452fa (patch)
tree650c2631e4ed923872e24447a36881ba61398cda /src/interfaces/ecpg/test/Makefile
parent26af72b46b8fb4b828224f5d5f67a99f16ebdb38 (diff)
Fix for cross-compilation between mingw32 and something else. The choice
of pwd vs. pwd -W is correctly a function of the build system, not the host system.
Diffstat (limited to 'src/interfaces/ecpg/test/Makefile')
-rw-r--r--src/interfaces/ecpg/test/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/ecpg/test/Makefile b/src/interfaces/ecpg/test/Makefile
index 8ba244941a9..be017e5c9ac 100644
--- a/src/interfaces/ecpg/test/Makefile
+++ b/src/interfaces/ecpg/test/Makefile
@@ -1,4 +1,4 @@
-# $PostgreSQL: pgsql/src/interfaces/ecpg/test/Makefile,v 1.75 2008/12/01 11:37:37 meskes Exp $
+# $PostgreSQL: pgsql/src/interfaces/ecpg/test/Makefile,v 1.76 2009/01/05 09:54:13 petere Exp $
subdir = src/interfaces/ecpg/test
top_builddir = ../../../..
@@ -16,7 +16,7 @@ ifdef NO_LOCALE
NOLOCALE += --no-locale
endif
-ifneq ($(PORTNAME),win32)
+ifneq ($(build_os),mingw32)
abs_builddir := $(shell pwd)
else
abs_builddir := $(shell pwd -W)