Hi,
I’m trying to build the shared version of DeltaChat.dll to integrate it with Miranda NG open source multiprotocol messenger (https://miranda-ng.org). There’s a small bug with lib_deltachat.vcxproj, generated by CMake, the problem is that this Unix-like command line
PREFIX=C:\temp LIBDIR=C:/temp/lib INCLUDEDIR=C:/temp/include cargo.exe build --target-dir=W:/Test/chatmail/build/target --release
doesn’t work under Windows, it should look like
set PREFIX=C:\temp && set LIBDIR=C:/temp/lib && set INCLUDEDIR=C:/temp/include && cargo.exe build --target-dir=W:/Test/chatmail/build/target --release
but that’s definitely not the main problem. The real problem is that I can’t build DeltaChat with shared OpenSSL libraries, which are already included into Miranda’s distribution (3.4.1, precisely as you like). It will help to reduce the size of deltachat.dll dramatically. I’ve tried to replace static openssl libs to the export libs manually, but it didn’t help.
Is there a way to feed the export libraries instead of using static one? Any ideas are greatly appreciated.
WMBR, George Hazan