Blame SOURCES/copy-headers.patch

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