mirror of
https://github.com/microsoft/vcpkg.git
synced 2026-01-18 01:11:23 +01:00
[libmagic] Fix build with x64-windows-static triplet (#44566)
This commit is contained in:
@@ -32,6 +32,11 @@ if(VCPKG_TARGET_IS_WINDOWS)
|
||||
set(VCPKG_CXX_FLAGS "${VCPKG_CXX_FLAGS} -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_WARNINGS")
|
||||
endif()
|
||||
|
||||
if(VCPKG_TARGET_IS_WINDOWS AND VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
||||
set(VCPKG_C_FLAGS "${VCPKG_C_FLAGS} -DBUILD_AS_WINDOWS_STATIC_LIBARAY")
|
||||
set(VCPKG_CXX_FLAGS "${VCPKG_CXX_FLAGS} -DBUILD_AS_WINDOWS_STATIC_LIBARAY")
|
||||
endif()
|
||||
|
||||
set(FEATURE_OPTIONS)
|
||||
|
||||
macro(enable_feature feature switch)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "libmagic",
|
||||
"version": "5.46",
|
||||
"port-version": 1,
|
||||
"port-version": 2,
|
||||
"description": "This library can be used to classify files according to magic number tests.",
|
||||
"homepage": "https://github.com/file/file",
|
||||
"license": "BSD-2-Clause",
|
||||
|
||||
@@ -4854,7 +4854,7 @@
|
||||
},
|
||||
"libmagic": {
|
||||
"baseline": "5.46",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"libmariadb": {
|
||||
"baseline": "3.4.1",
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "41586f5bc835926bf3a4ba4bfc79be735ca581d3",
|
||||
"version": "5.46",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "64418c4e61811c2e8829f8253c56173a2836bbcd",
|
||||
"version": "5.46",
|
||||
|
||||
Reference in New Issue
Block a user