mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 03:10:57 +08:00
[vcpkg baseline][libao] Disable dlfcn check under windows (#23235)
* [libao] Add parameter to control whether to detect dlfcn * Use Cache variables instead of patch file * Avoid using undefined variable Co-authored-by: Cheney-Wang <v-xincwa@microsoft.com>
This commit is contained in:
parent
401578455f
commit
b23242b620
@ -1,5 +1,7 @@
|
||||
set(NO_DLFCN )
|
||||
if(VCPKG_TARGET_IS_WINDOWS)
|
||||
list(APPEND PATCHES "0001-windows-build-patch.patch")
|
||||
set(NO_DLFCN "ac_cv_header_dlfcn_h=no")
|
||||
endif()
|
||||
|
||||
vcpkg_from_github(
|
||||
@ -18,7 +20,8 @@ endif()
|
||||
vcpkg_configure_make(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
AUTOCONFIG
|
||||
OPTIONS --disable-binaries
|
||||
OPTIONS --disable-binaries
|
||||
${NO_DLFCN}
|
||||
)
|
||||
vcpkg_install_make()
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "libao",
|
||||
"version": "1.2.2",
|
||||
"port-version": 3,
|
||||
"port-version": 4,
|
||||
"description": "libao - A Cross-platform Audio Library",
|
||||
"homepage": "https://github.com/xiph/libao",
|
||||
"license": "GPL-2.0",
|
||||
|
@ -3334,7 +3334,7 @@
|
||||
},
|
||||
"libao": {
|
||||
"baseline": "1.2.2",
|
||||
"port-version": 3
|
||||
"port-version": 4
|
||||
},
|
||||
"libarchive": {
|
||||
"baseline": "3.5.2",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "11240d91b73e6a968da37b8053a8a64a6d9ea55f",
|
||||
"version": "1.2.2",
|
||||
"port-version": 4
|
||||
},
|
||||
{
|
||||
"git-tree": "931d3ed363323bdc4de00c91165f3a09e23fb6b1",
|
||||
"version": "1.2.2",
|
||||
|
Loading…
x
Reference in New Issue
Block a user