小智 6
你需要至少0.9.3才能编译.
version 0.9.3
- yet more build-system fixes:
- allow to override HASH_LIBS and CURL_LIBS using envoronment variables
- include them in .pc and tests/Makefile.am
Run Code Online (Sandbox Code Playgroud)
我使用以下步骤使其工作:
为此,您需要安装MSYS/MINGW
从msys shell运行:
env PKG_CONFIG=/bin/true ./configure --disable-static --disable-curl \
CURL_LIBS=/mingw/bin/libcurl.dll HASH_LIBS="/mingw/bin/libeay32.dll \
/mingw/bin/libssl32.dll" --prefix=/mingw
Run Code Online (Sandbox Code Playgroud)然后:
mingw32-make && mingw32-make check
Run Code Online (Sandbox Code Playgroud)手指交叉,这一切都按照应有的方式进行编译.
mingw32-make install
Run Code Online (Sandbox Code Playgroud)