From c0e8d10ea18358e3be8e52428fceb92281656f32 Mon Sep 17 00:00:00 2001 From: Mike Hommey Date: Fri, 6 Nov 2015 17:31:00 +0100 Subject: [PATCH] Bug 1222591 - "nsMsgUtils.cpp:52:10: fatal error: 'nsProtocolProxyService.h' file not found". r=gps f=aleth --- python/mozbuild/mozbuild/backend/recursivemake.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/mozbuild/mozbuild/backend/recursivemake.py b/python/mozbuild/mozbuild/backend/recursivemake.py index ee8962ef0fd..48f233876e6 100644 --- a/python/mozbuild/mozbuild/backend/recursivemake.py +++ b/python/mozbuild/mozbuild/backend/recursivemake.py @@ -874,8 +874,8 @@ class RecursiveMakeBackend(CommonBackend): if isinstance(path, SourcePath): if path.full_path.startswith(backend_file.srcdir): return '$(srcdir)' + path.full_path[len(backend_file.srcdir):] - if path.full_path.startswith(self.environment.topsrcdir): - return '$(topsrcdir)' + path.full_path[len(self.environment.topsrcdir):] + if path.full_path.startswith(backend_file.topsrcdir): + return '$(topsrcdir)' + path.full_path[len(backend_file.topsrcdir):] elif isinstance(path, ObjDirPath): if path.full_path.startswith(backend_file.objdir): return path.full_path[len(backend_file.objdir) + 1:]