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