Last active
August 10, 2018 20:30
-
-
Save trevnorris/fdc01ed994f39498bba0469f26bf81d3 to your computer and use it in GitHub Desktop.
How to build node with shared libuv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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