Blame SOURCES/copy-headers.patch

3de678
From: Rico Tzschichholz <ricotz@ubuntu.com>
3de678
Date: Wed, 5 Jul 2017 22:45:59 -0700
3de678
Subject: build: Copy headers on install instead of symlinking
3de678
3de678
Patch ported forward to mozjs52 by Philip Chimento
3de678
<philip.chimento@gmail.com>.
3de678
---
3de678
 python/mozbuild/mozbuild/backend/recursivemake.py | 6 +++---
3de678
 1 file changed, 3 insertions(+), 3 deletions(-)
3de678
3de678
diff --git a/python/mozbuild/mozbuild/backend/recursivemake.py b/python/mozbuild/mozbuild/backend/recursivemake.py
3de678
index dd9020d..6918ef8 100644
3de678
--- a/python/mozbuild/mozbuild/backend/recursivemake.py
3de678
+++ b/python/mozbuild/mozbuild/backend/recursivemake.py
3de678
@@ -1427,11 +1427,11 @@ class RecursiveMakeBackend(CommonBackend):
3de678
                                 raise Exception("Wildcards are only supported in the filename part of "
3de678
                                                 "srcdir-relative or absolute paths.")
3de678
 
3de678
-                            install_manifest.add_pattern_link(basepath, wild, path)
3de678
+                            install_manifest.add_pattern_copy(basepath, wild, path)
3de678
                         else:
3de678
-                            install_manifest.add_pattern_link(f.srcdir, f, path)
3de678
+                            install_manifest.add_pattern_copy(f.srcdir, f, path)
3de678
                     else:
3de678
-                        install_manifest.add_link(f.full_path, dest)
3de678
+                        install_manifest.add_copy(f.full_path, dest)
3de678
                 else:
3de678
                     install_manifest.add_optional_exists(dest)
3de678
                     backend_file.write('%s_FILES += %s\n' % (