Commit 3fb2cc51 authored by Philip Chimento's avatar Philip Chimento

core-deps-3.24: Patch mozjs38 to not symlink headers

By default mozbuild will install headers as symlinks back to the build
directory! This is no good for standalone mozjs.
parent e8bc6931
......@@ -1550,6 +1550,7 @@
<patch file="mozjs38-shell-version.patch" strip="1"/>
<patch file="mozjs38-pkg-config-version.patch" strip="1"/>
<patch file="mozjs38-install-name.patch" strip="1"/>
<patch file="mozjs38-copy-headers.patch" strip="1"/>
<patch file="mozjs38-1269317.patch" strip="1"/>
</branch>
<dependencies>
......
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)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment