summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2019-11-30 14:01:19 -0500
committerMatt A. Tobin <email@mattatobin.com>2019-11-30 14:01:19 -0500
commitf6fb48d086326a9cbc22aba9b5b9d73e9ffce656 (patch)
tree38e4b06eed698356feea854a7f93bd1eb9ff2595
parent5102aa579d3d02b9c3e24008342b28c5d6fc455c (diff)
downloadUXP-f6fb48d086326a9cbc22aba9b5b9d73e9ffce656.tar
UXP-f6fb48d086326a9cbc22aba9b5b9d73e9ffce656.tar.gz
UXP-f6fb48d086326a9cbc22aba9b5b9d73e9ffce656.tar.lz
UXP-f6fb48d086326a9cbc22aba9b5b9d73e9ffce656.tar.xz
UXP-f6fb48d086326a9cbc22aba9b5b9d73e9ffce656.zip
No Issue - Don't use a hard coded path for win_srcdir in comm-style configurations
-rw-r--r--config/config.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/config.mk b/config/config.mk
index 24442bfe9..5a352e529 100644
--- a/config/config.mk
+++ b/config/config.mk
@@ -107,7 +107,7 @@ ifeq ($(HOST_OS_ARCH),WINNT)
# This means we're in comm-central's topsrcdir, so we need to adjust
# WIN_TOP_SRC (which points to mozilla's topsrcdir) for the substitution
# to win_srcdir.
- cc_WIN_TOP_SRC := $(WIN_TOP_SRC:%/mozilla=%)
+ cc_WIN_TOP_SRC := $(WIN_TOP_SRC:%$(subst $(topsrcdir),,$(MOZILLA_DIR))=%)
win_srcdir := $(subst $(topsrcdir),$(cc_WIN_TOP_SRC),$(srcdir))
endif
BUILD_TOOLS = $(WIN_TOP_SRC)/build/unix