|
|
b56797 |
From 8b2d7a77bfb4dbd513763501ed7e9722058ee9af Mon Sep 17 00:00:00 2001
|
|
|
b56797 |
From: Rico Tzschichholz <ricotz@ubuntu.com>
|
|
|
b56797 |
Date: Wed, 5 Jul 2017 22:45:59 -0700
|
|
|
b56797 |
Subject: [PATCH] build: Copy headers on install instead of symlinking
|
|
|
b56797 |
|
|
|
b56797 |
Patch ported forward to mozjs52 by Philip Chimento
|
|
|
b56797 |
<philip.chimento@gmail.com>.
|
|
|
b56797 |
---
|
|
|
b56797 |
python/mozbuild/mozbuild/backend/recursivemake.py | 6 +++---
|
|
|
b56797 |
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
|
b56797 |
|
|
|
b56797 |
diff --git a/python/mozbuild/mozbuild/backend/recursivemake.py b/python/mozbuild/mozbuild/backend/recursivemake.py
|
|
|
b56797 |
index 132dcf94..33d489a6 100644
|
|
|
b56797 |
--- a/python/mozbuild/mozbuild/backend/recursivemake.py
|
|
|
b56797 |
+++ b/python/mozbuild/mozbuild/backend/recursivemake.py
|
|
|
b56797 |
@@ -1307,11 +1307,11 @@ def _process_final_target_files(self, obj, files, backend_file):
|
|
|
b56797 |
raise Exception("Wildcards are only supported in the filename part of "
|
|
|
b56797 |
"srcdir-relative or absolute paths.")
|
|
|
b56797 |
|
|
|
b56797 |
- install_manifest.add_pattern_symlink(basepath, wild, path)
|
|
|
b56797 |
+ install_manifest.add_pattern_copy(basepath, wild, path)
|
|
|
b56797 |
else:
|
|
|
b56797 |
- install_manifest.add_pattern_symlink(f.srcdir, f, path)
|
|
|
b56797 |
+ install_manifest.add_pattern_copy(f.srcdir, f, path)
|
|
|
b56797 |
else:
|
|
|
b56797 |
- install_manifest.add_symlink(f.full_path, dest)
|
|
|
b56797 |
+ install_manifest.add_copy(f.full_path, dest)
|
|
|
b56797 |
else:
|
|
|
b56797 |
install_manifest.add_optional_exists(dest)
|
|
|
b56797 |
backend_file.write('%s_FILES += %s\n' % (
|