Bugzilla Bug 317620: use "pwd -W" to convert $(DIST) to an absolute

pathname (ABS_DIST) under MSYS on Windows.  We use the same method to
to define MOZ_BUILD_ROOT in configure.in.  The patch is contributed by
Chris Seawood <cls@seawood.org>.  r=wtc.
This commit is contained in:
wtchang%redhat.com 2006-01-18 21:32:27 +00:00
Родитель 8bc86e12c5
Коммит c1b7e30c6f
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -123,6 +123,9 @@ ifeq ($(HOST_OS_ARCH),WINNT)
ifdef CYGDRIVE_MOUNT
ABS_DIST := $(shell cygpath -w $(ABS_DIST) | sed -e 's|\\|/|g')
endif
ifneq (,$(filter mingw%,$(host_os)))
ABS_DIST := $(shell cd $(DIST) && pwd -W)
endif
endif
NSPR_INCLUDE_DIR = $(firstword $(filter -I%,$(NSPR_CFLAGS)))
ifneq (,$(strip $(NSPR_INCLUDE_DIR)))