aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mozjs38/copy-headers.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/mozjs38/copy-headers.patch')
-rw-r--r--testing/mozjs38/copy-headers.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/mozjs38/copy-headers.patch b/testing/mozjs38/copy-headers.patch
new file mode 100644
index 00000000000..7f352a795c8
--- /dev/null
+++ b/testing/mozjs38/copy-headers.patch
@@ -0,0 +1,20 @@
+Description: Copy headers on install instead of symlinking
+Author: Rico Tzschichholz <ricotz@ubuntu.com>
+Forwarded: no
+Last-Update: 2014-10-29
+
+---
+
+Index: b/python/mozbuild/mozbuild/backend/recursivemake.py
+===================================================================
+--- a/python/mozbuild/mozbuild/backend/recursivemake.py
++++ b/python/mozbuild/mozbuild/backend/recursivemake.py
+@@ -796,7 +796,7 @@
+ return
+
+ for source, dest, _ in self._walk_hierarchy(obj, exports):
+- self._install_manifests['dist_include'].add_symlink(source, dest)
++ self._install_manifests['dist_include'].add_copy(source, dest)
+
+ if not os.path.exists(source):
+ raise Exception('File listed in EXPORTS does not exist: %s' % source)