使用msvc编译libsodium
生产DLL需要定义下面的宏。
export CPPFLAGS=-DSODIUM_DLL_EXPORT
./configure --host=i686_pc_cygwin --enable-shared --disable-static
在Makefile中删除-DHAVE_PID=1
删除
-DHAVE_EMMINTRIN_H=1
-DHAVE
生产DLL需要定义下面的宏。
export CPPFLAGS=-DSODIUM_DLL_EXPORT
./configure --host=i686_pc_cygwin --enable-shared --disable-static
在Makefile中删除-DHAVE_PID=1
删除
-DHAVE_EMMINTRIN_H=1
-DHAVE