mirror of https://github.com/microsoft/vcpkg.git
[crashpad] fix linking on macOS (#26682)
* [crashpad] link libmig_output.a on macOS * [crashpad] update to latest
This commit is contained in:
parent
b0eb3fa9ee
commit
d8f53e80e6
|
|
@ -15,7 +15,7 @@ if(WIN32)
|
|||
target_compile_definitions(crashpad INTERFACE NOMINMAX)
|
||||
elseif(APPLE)
|
||||
list(APPEND CRASHPAD_LIBRARIES ApplicationServices
|
||||
CoreFoundation Foundation IOKit Security bsm)
|
||||
CoreFoundation Foundation IOKit Security bsm mig_output)
|
||||
endif()
|
||||
|
||||
foreach(LIB_NAME ${CRASHPAD_LIBRARIES})
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
|||
vcpkg_from_git(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
URL https://chromium.googlesource.com/crashpad/crashpad
|
||||
REF 68aba08c48bb428b7b159b3371163f86e8d5a126
|
||||
REF 261679b3d2f3336d8531ed38e110254c3e2d1c10
|
||||
)
|
||||
|
||||
vcpkg_find_acquire_program(PYTHON3)
|
||||
|
|
@ -113,6 +113,10 @@ install_headers("${SOURCE_PATH}/third_party/mini_chromium/mini_chromium/build")
|
|||
|
||||
file(COPY "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg/gen/build/chromeos_buildflags.h" DESTINATION "${CURRENT_PACKAGES_DIR}/include/${PORT}/build")
|
||||
file(COPY "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg/gen/build/chromeos_buildflags.h.flags" DESTINATION "${CURRENT_PACKAGES_DIR}/include/${PORT}/build")
|
||||
if(VCPKG_TARGET_IS_OSX)
|
||||
file(COPY "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg/obj/util/libmig_output.a" DESTINATION "${CURRENT_PACKAGES_DIR}/debug/lib")
|
||||
file(COPY "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/obj/util/libmig_output.a" DESTINATION "${CURRENT_PACKAGES_DIR}/lib")
|
||||
endif()
|
||||
|
||||
# remove empty directories
|
||||
file(REMOVE_RECURSE
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
"name": "crashpad",
|
||||
"version-date": "2022-04-16",
|
||||
"port-version": 3,
|
||||
"version-date": "2022-09-05",
|
||||
"description": [
|
||||
"Crashpad is a crash-reporting system.",
|
||||
"Crashpad is a library for capturing, storing and transmitting postmortem crash reports from a client to an upstream collection server. Crashpad aims to make it possible for clients to capture process state at the time of crash with the best possible fidelity and coverage, with the minimum of fuss."
|
||||
|
|
|
|||
|
|
@ -1705,8 +1705,8 @@
|
|||
"port-version": 1
|
||||
},
|
||||
"crashpad": {
|
||||
"baseline": "2022-04-16",
|
||||
"port-version": 3
|
||||
"baseline": "2022-09-05",
|
||||
"port-version": 0
|
||||
},
|
||||
"crashrpt": {
|
||||
"baseline": "1.4.3",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "6d39be1cd402a6147c057802a84ffdc1715d6384",
|
||||
"version-date": "2022-09-05",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "e1338388a039df55d6812726dd2e638684a19509",
|
||||
"version-date": "2022-04-16",
|
||||
|
|
|
|||
Loading…
Reference in New Issue