sockpp
sockpp copied to clipboard
build shared sockpp with static openssl (Windows, MINGW-64, MSYS)
I tried to build shared sockpp with openssl.
I wanted to have the openssl inside the sockpp dll, but i won't build.
I build openssl as static lib without problems.
After i did set -DOPENSSL_ROOT_DIR
to the static path, it says it can't find the WS2 entries.
i tried to adding -DCMAKE_SHARED_LINKER_FLAGS="-lcrypt32 -lssl -lcrypto"
to the cmake call, but i won't work.
Here is the output from it: sockpp_openssl_static.txt
P.S. : If i done some common mistake, let me know. I'm not used to building libs. XD