Skip to content

main/nodejs: build nodejs shared library

Gabor Csardi requested to merge gaborcsardi/aports:fix/nodejs-lib into master

build() needs the --shared option to build node.js as a shared library. After this change we can use the nodejs-dev package to link to node.js, e.g. embed the node.js into another program.

The extra symlinks are handy, because some programs are trying to link to libv8 and look for headers in /usr/include/v8. With the symlinks, these programs also work out of the box.

Merge request reports