The fix can be done with
sed -i '/dist_include.*add_symlink/s/add_symlink/add_copy/'  \
python/mozbuild/mozbuild/backend/recursivemake.py

https://git.archlinux.org/svntogit/packages.git/tree/trunk/mozjs38-copy-headers.patch?h=packages/js38

Tested in chroot with destdir. The chown -Rv root.root was not needed
with the sed. On both installations (with the book's instructions and
the sed) $DESTDIR/usr/include/mozjs-38/js-config.h had mode 755
so a chmod 644 is needed.

--
Thanos
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to