diff --git a/components/core/tools/scripts/lib_install/mongocxx.sh b/components/core/tools/scripts/lib_install/mongocxx.sh index a8c688606..73e6d5ff3 100755 --- a/components/core/tools/scripts/lib_install/mongocxx.sh +++ b/components/core/tools/scripts/lib_install/mongocxx.sh @@ -74,6 +74,7 @@ cmake \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr/local \ -DBUILD_SHARED_AND_STATIC_LIBS=ON \ + -DBUILD_SHARED_LIBS_WITH_STATIC_MONGOC=ON \ -DENABLE_TESTS=OFF \ ..