[libusb] Fix undefined symbols on osx (#29393)

* [libusb] Fix undefined symbols on osx

* update version database

* update license

* update version database

---------

Co-authored-by: MonicaLiu <v-liumonica@microsoft.com>
This commit is contained in:
xiaozhuai, Weihang Ding 2023-02-04 06:00:28 +08:00 committed by GitHub
parent dfcc767b82
commit 7229e06586
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 14 additions and 3 deletions

View File

@ -11,3 +11,9 @@ set(LIBUSB_INCLUDE_DIRS "${LIBUSB_INCLUDE_DIR}")
if (@VCPKG_TARGET_IS_LINUX@) if (@VCPKG_TARGET_IS_LINUX@)
list(APPEND LIBUSB_LIBRARIES udev) list(APPEND LIBUSB_LIBRARIES udev)
endif() endif()
if (@VCPKG_TARGET_IS_OSX@)
list(APPEND LIBUSB_LIBRARIES "-framework Cocoa")
list(APPEND LIBUSB_LIBRARIES "-framework IOKit")
list(APPEND LIBUSB_LIBRARIES "-framework Security")
endif()

View File

@ -1,9 +1,9 @@
{ {
"name": "libusb", "name": "libusb",
"version": "1.0.26", "version": "1.0.26",
"port-version": 2, "port-version": 3,
"description": "a cross-platform library to access USB devices", "description": "a cross-platform library to access USB devices",
"homepage": "https://github.com/libusb/libusb", "homepage": "https://github.com/libusb/libusb",
"license": "LGPL-2.1", "license": "LGPL-2.1-or-later",
"supports": "!uwp" "supports": "!uwp"
} }

View File

@ -4458,7 +4458,7 @@
}, },
"libusb": { "libusb": {
"baseline": "1.0.26", "baseline": "1.0.26",
"port-version": 2 "port-version": 3
}, },
"libusb-win32": { "libusb-win32": {
"baseline": "1.2.6.0", "baseline": "1.2.6.0",

View File

@ -1,5 +1,10 @@
{ {
"versions": [ "versions": [
{
"git-tree": "540652cc1251aa3894206c20296f6119da1ccea4",
"version": "1.0.26",
"port-version": 3
},
{ {
"git-tree": "0fde9742f99465a4029efa4b552f3c2ed276ec6a", "git-tree": "0fde9742f99465a4029efa4b552f3c2ed276ec6a",
"version": "1.0.26", "version": "1.0.26",