void-packages/srcpkgs/mozjs38/patches/copy-headers.patch
Alessio Sergi ac1927d2cc mozjs38: fix multiple issues
Fix malformed library name and include directory to contain the major
version (libmozjs-38.so and /usr/include/mozjs-38).

Add major version to js shell, js-config and pkg-config files.

Patches from Debian.

Fix conflict with js-1.8.5.
2017-07-19 13:34:30 +02:00

20 lines
786 B
Diff

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)