Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@trevnorris
Last active August 10, 2018 20:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trevnorris/fdc01ed994f39498bba0469f26bf81d3 to your computer and use it in GitHub Desktop.
Save trevnorris/fdc01ed994f39498bba0469f26bf81d3 to your computer and use it in GitHub Desktop.
How to build node with shared libuv
libuv:
$ ./gyp_uv.py -f make -Dlibrary=shared_library
$ BUILDTYPE=Release make -j6 -C out
node:
$ ./configure --shared-libuv --shared-libuv-includes=$LIBUV_PATH/include --shared-libuv-libpath=$LIBUV_PATH/out/Release
$ make -j6
binary build:
$ CONFIG_FLAGS="--shared-libuv --shared-libuv-includes=$LIBUV_PATH/libuv/include --shared-libuv-libpath=$LIBUV_PATH/out/Release" DISTTYPE=custom CUSTOMTAG="$(date +'%s')" make -j6 binary
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment