Contents of /trunk/spidermonkey/patches/spidermonkey-52.7.3-copy-headers.patch
Parent Directory | Revision Log
Revision 3105 -
(show annotations)
(download)
Mon Apr 30 10:54:44 2018 UTC (6 years, 4 months ago) by niro
File size: 1652 byte(s)
Mon Apr 30 10:54:44 2018 UTC (6 years, 4 months ago) by niro
File size: 1652 byte(s)
-added spidermonkey-52.7.3 patches
1 | From 8b2d7a77bfb4dbd513763501ed7e9722058ee9af Mon Sep 17 00:00:00 2001 |
2 | From: Rico Tzschichholz <ricotz@ubuntu.com> |
3 | Date: Wed, 5 Jul 2017 22:45:59 -0700 |
4 | Subject: [PATCH] build: Copy headers on install instead of symlinking |
5 | |
6 | Patch ported forward to mozjs52 by Philip Chimento |
7 | <philip.chimento@gmail.com>. |
8 | --- |
9 | python/mozbuild/mozbuild/backend/recursivemake.py | 6 +++--- |
10 | 1 file changed, 3 insertions(+), 3 deletions(-) |
11 | |
12 | diff --git a/python/mozbuild/mozbuild/backend/recursivemake.py b/python/mozbuild/mozbuild/backend/recursivemake.py |
13 | index 132dcf94..33d489a6 100644 |
14 | --- a/python/mozbuild/mozbuild/backend/recursivemake.py |
15 | +++ b/python/mozbuild/mozbuild/backend/recursivemake.py |
16 | @@ -1307,11 +1307,11 @@ def _process_final_target_files(self, obj, files, backend_file): |
17 | raise Exception("Wildcards are only supported in the filename part of " |
18 | "srcdir-relative or absolute paths.") |
19 | |
20 | - install_manifest.add_pattern_symlink(basepath, wild, path) |
21 | + install_manifest.add_pattern_copy(basepath, wild, path) |
22 | else: |
23 | - install_manifest.add_pattern_symlink(f.srcdir, f, path) |
24 | + install_manifest.add_pattern_copy(f.srcdir, f, path) |
25 | else: |
26 | - install_manifest.add_symlink(f.full_path, dest) |
27 | + install_manifest.add_copy(f.full_path, dest) |
28 | else: |
29 | install_manifest.add_optional_exists(dest) |
30 | backend_file.write('%s_FILES += %s\n' % ( |