diff --git a/ports/libbson/portfile.cmake b/ports/libbson/portfile.cmake index 71dc0cb0210e3f..235ace6e827eb1 100644 --- a/ports/libbson/portfile.cmake +++ b/ports/libbson/portfile.cmake @@ -54,6 +54,10 @@ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/share/mongo-c-driver" ) +if(VCPKG_LIBRARY_LINKAGE STREQUAL "static") + file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin") +endif() + file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}") vcpkg_install_copyright( diff --git a/versions/l-/libbson.json b/versions/l-/libbson.json index b45e62c0d35a2f..243ac42245a9fa 100644 --- a/versions/l-/libbson.json +++ b/versions/l-/libbson.json @@ -1,7 +1,7 @@ { "versions": [ { - "git-tree": "f02101f37153d68edcdf86dfe667779d09c3553b", + "git-tree": "8efce9b040408e5285963af828ebacd014507554", "version": "1.25.0", "port-version": 0 },