mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 12:09:00 +08:00
[vcpkg baseline][libtasn1] Fix static build (#18116)
* [vcpkg baseline][libtasn1] Fix static build * update version record * update baseline * change the fix way to avoid other toolchain doesn't use VCPKG_X_FLAGS * Update versions/l-/libtasn1.json * Update ports/libtasn1/portfile.cmake * Update versions/l-/libtasn1.json
This commit is contained in:
parent
f0b32c558a
commit
f2f9f7993a
@ -29,6 +29,12 @@ else()
|
||||
set(VCPKG_CXX_FLAGS "-g -O2")
|
||||
endif()
|
||||
|
||||
# The upstream doesn't add this macro to the configure
|
||||
if (VCPKG_TARGET_IS_WINDOWS AND VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
||||
|
||||
set(EXTRA_OPTS "${EXTRA_OPTS} CFLAGS=\"$CFLAGS -DASN1_STATIC\"")
|
||||
endif()
|
||||
|
||||
set(ENV{GTKDOCIZE} true)
|
||||
vcpkg_configure_make(
|
||||
AUTOCONFIG
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "libtasn1",
|
||||
"version": "4.17.0",
|
||||
"port-version": 1,
|
||||
"description": "A secure communications library implementing the SSL, TLS and DTLS protocols",
|
||||
"homepage": "https://www.gnutls.org/",
|
||||
"supports": "!uwp",
|
||||
|
@ -761,7 +761,6 @@ libssh:arm-uwp=fail
|
||||
libssh:x64-uwp=fail
|
||||
libstk:arm-uwp=fail
|
||||
libstk:x64-uwp=fail
|
||||
libtasn1:x64-windows-static-md=fail
|
||||
libtins:arm-uwp=fail
|
||||
libtins:x64-uwp=fail
|
||||
libtomcrypt:arm64-windows=fail
|
||||
|
@ -3558,7 +3558,7 @@
|
||||
},
|
||||
"libtasn1": {
|
||||
"baseline": "4.17.0",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"libtcod": {
|
||||
"baseline": "1.18.0",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "3554f6c03cdac32ddf68540d62c04f6f4644ec94",
|
||||
"version": "4.17.0",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "63ad8395545c61a38b7564108d2c1c4b7a6bbf12",
|
||||
"version": "4.17.0",
|
||||
|
Loading…
Reference in New Issue
Block a user