aboutsummaryrefslogtreecommitdiff
path: root/ports/libbson
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2017-06-09 19:34:32 -0700
committerRobert Schumacher <roschuma@microsoft.com>2017-06-09 19:34:32 -0700
commitdb8db9c45c937a9d16c37097de43a0e70acd2b58 (patch)
tree0dbeea1ca069e0ed669d7f34d5354ad4164c1473 /ports/libbson
parent9a642ade4e7a605e7d11b693e471990d5c6468ed (diff)
downloadvcpkg-db8db9c45c937a9d16c37097de43a0e70acd2b58.tar.gz
vcpkg-db8db9c45c937a9d16c37097de43a0e70acd2b58.zip
[arrow][libbson] Fix static builds.
Diffstat (limited to 'ports/libbson')
-rw-r--r--ports/libbson/CONTROL2
-rw-r--r--ports/libbson/portfile.cmake2
2 files changed, 3 insertions, 1 deletions
diff --git a/ports/libbson/CONTROL b/ports/libbson/CONTROL
index 0edf7847c..141221ba4 100644
--- a/ports/libbson/CONTROL
+++ b/ports/libbson/CONTROL
@@ -1,3 +1,3 @@
Source: libbson
-Version: 1.6.2
+Version: 1.6.2-1
Description: libbson is a library providing useful routines related to building, parsing, and iterating BSON documents. \ No newline at end of file
diff --git a/ports/libbson/portfile.cmake b/ports/libbson/portfile.cmake
index 58513498e..1a86128a4 100644
--- a/ports/libbson/portfile.cmake
+++ b/ports/libbson/portfile.cmake
@@ -53,6 +53,8 @@ if (VCPKG_LIBRARY_LINKAGE STREQUAL static)
PATCHES
${CMAKE_CURRENT_LIST_DIR}/static.patch
)
+
+ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/bin ${CURRENT_PACKAGES_DIR}/bin)
endif()
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/libbson RENAME copyright)