File tree Expand file tree Collapse file tree 5 files changed +20
-3
lines changed
Expand file tree Collapse file tree 5 files changed +20
-3
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ BUILD_OPTIONS = \
2121 "AR=$AR " \
2222 "BUILD_CC=$CC " \
2323 "CC=$CC " \
24+ "OBJCOPY=$OBJCOPY " \
2425 "RANLIB=$RANLIB " \
2526 "lib=lib" \
2627 "prefix=$prefix "
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ vcpkg_download_distfile(ARCHIVE
22 URLS "https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-${VERSION} .tar.xz"
33 "https://www.mirrorservice.org/sites/ftp.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-${VERSION} .tar.xz"
44 FILENAME "libcap-${VERSION} .tar.xz"
5- SHA512 4e0bf0efeccb654c409afe9727b2b53c1d4da8190d7a0a9848fc52550ff3e13502add3eacde04a68a5b7bec09e91df487f64c5746ba987f873236a9e53b3d4e8
5+ SHA512 59bb6781d96776595ad3df890f4e5188380634eabbb6128f3a5307946b01cf3bd19dee8a29d3e501de1d9e1c6ed0092c4cd5adc91da227a1260c1f4356cc0bf3
66)
77
88vcpkg_extract_source_archive(SOURCE_PATH
@@ -18,6 +18,13 @@ if(VCPKG_CROSSCOMPILING)
1818 file (TOUCH "${SOURCE_PATH} /libcap/cap_names.h" )
1919endif ()
2020
21+ block(SCOPE_FOR VARIABLES )
22+ set (VCPKG_CMAKE_CONFIGURE_OPTIONS "-DVCPKG_VARS_TO_CHECK=CMAKE_OBJCOPY" )
23+ vcpkg_cmake_get_vars(cmake_vars_file)
24+ include ("${cmake_vars_file} " )
25+ set (ENV{OBJCOPY} "${VCPKG_DETECTED_CMAKE_OBJCOPY} " )
26+ endblock()
27+
2128vcpkg_configure_make(
2229 SOURCE_PATH "${SOURCE_PATH} "
2330 COPY_SOURCE
Original file line number Diff line number Diff line change 11{
22 "name" : " libcap" ,
3- "version" : " 2.70 " ,
3+ "version" : " 2.71 " ,
44 "description" : " A library for getting and setting POSIX.1e (formerly POSIX 6) draft 15 capabilities." ,
55 "homepage" : " https://sites.google.com/site/fullycapable/" ,
66 "license" : " BSD-3-Clause OR GPL-2.0-only" ,
99 {
1010 "name" : " libcap" ,
1111 "host" : true
12+ },
13+ {
14+ "name" : " vcpkg-cmake-get-vars" ,
15+ "host" : true
1216 }
1317 ]
1418}
Original file line number Diff line number Diff line change 43374337 "port-version" : 4
43384338 },
43394339 "libcap" : {
4340- "baseline" : " 2.70 " ,
4340+ "baseline" : " 2.71 " ,
43414341 "port-version" : 0
43424342 },
43434343 "libcbor" : {
Original file line number Diff line number Diff line change 11{
22 "versions" : [
3+ {
4+ "git-tree" : " 624965e04fa91928fc26f8a061527d30ed58bf98" ,
5+ "version" : " 2.71" ,
6+ "port-version" : 0
7+ },
38 {
49 "git-tree" : " c7a0cc03982a375c59205880aea11305d37464c0" ,
510 "version" : " 2.70" ,
You can’t perform that action at this time.
0 commit comments