summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorted.mielczarek%gmail.com <devnull@localhost>2009-10-07 11:47:05 +0000
committerted.mielczarek%gmail.com <devnull@localhost>2009-10-07 11:47:05 +0000
commit972bd31dfac13922740599554e2078b38e4444b0 (patch)
tree47b75e7ba4a6a8aae88ed2254ed37cddbda4fb09
parent7a4ca97a7f20c00c6495f8a662fc99d322d3886c (diff)
downloadnspr-hg-NSPR_HEAD_20091019.tar.gz
bug 520359 - pymake fails to build Firefox. use CURDIR instead of in pr_abspath for better pymake Windows compatibility. r=wtcNSPR_HEAD_20091019
-rw-r--r--config/rules.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/config/rules.mk b/config/rules.mk
index 9259916b..b300e15c 100644
--- a/config/rules.mk
+++ b/config/rules.mk
@@ -387,9 +387,8 @@ NEED_ABSOLUTE_PATH = 1
endif
ifdef NEED_ABSOLUTE_PATH
-PWD := $(shell pwd)
# The quotes allow absolute paths to contain spaces.
-pr_abspath = "$(if $(findstring :,$(1)),$(1),$(if $(filter /%,$(1)),$(1),$(PWD)/$(1)))"
+pr_abspath = "$(if $(findstring :,$(1)),$(1),$(if $(filter /%,$(1)),$(1),$(CURDIR)/$(1)))"
endif
$(OBJDIR)/%.$(OBJ_SUFFIX): %.cpp