From f6fb48d086326a9cbc22aba9b5b9d73e9ffce656 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Sat, 30 Nov 2019 14:01:19 -0500 Subject: No Issue - Don't use a hard coded path for win_srcdir in comm-style configurations --- config/config.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config') diff --git a/config/config.mk b/config/config.mk index 24442bfe99..5a352e5296 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 -- cgit v1.2.3