When mongo-c-driver is built against openssl+cyrus, the pkg-config files get broken.
Compiling any code using pkg-config gets the message "gcc.exe: error: crypt32.lib: No such file or directory".
Compiling a program without pkg-config works.
Compiling a program with pkg-config and with mongo-c-driver built without any SSL+SASL works too.
Appears pkg-config file is trying to find files from WINDOWS + SSPI build info.
Using the following command to build from inside 'build' folder:
cmake -DENABLE_SSL=OPENSSL -DENABLE_SASL=CYRUS -DCMAKE_INSTALL_PREFIX=/mingw64 -G "CodeBlocks - MinGW Makefiles" ..
- related to
-
CDRIVER-2074 Convenient usage as a static library
- Development Complete
-
CDRIVER-2083 Distribute CMake config packages for statically linking to libbson and libmongoc
- Closed