We use libsodium when building a native module for NodeJS and would like to statically link the library.
On Ubuntu, we can build libsodium with ./configure --with-pic --disable-pie --enable-static and can link against the libsodium.a file without having to include any additional files when we distribute our native Node module.
We use libsodium when building a native module for NodeJS and would like to statically link the library.
On Ubuntu, we can build libsodium with
./configure --with-pic --disable-pie --enable-static
and can link against thelibsodium.a
file without having to include any additional files when we distribute our native Node module.How can we accomplish the same thing on Windows?