From ef64322e2795e8d75b86650c002069a02919aea7 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 --HG-- extra : rebase_source : 87f985a43bf2c48ecad143fb2c1973a87966c931 --- 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 ee8962ef0fd1..48f233876e60 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:]