mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-26 01:30:55 +08:00
[shiftmedia-libgnutls] fix single config builds (#42445)
This commit is contained in:
parent
3cc6440a0a
commit
f16c8538e2
@ -4,7 +4,7 @@ vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO ShiftMediaProject/gnutls
|
||||
REF ${VERSION}
|
||||
SHA512 ff3991012425fb047229b3a72f3ab465981e002f93840df0dc3729b152fb497f88c74cb50022fc6f30aa2f6db3c34ed4e44e5556ec249f8da5b20886bb4116b1
|
||||
SHA512 db318ee923d0810484e98342cc395624efc52b7227020fc14b9fa9ae63e4b8bf254cfd90470e051cd992fb167fb839fff340430a223bcc50d1422f1738a5b599
|
||||
HEAD_REF master
|
||||
PATCHES
|
||||
external-libtasn1.patch
|
||||
@ -162,12 +162,14 @@ set(includedir "\${prefix}/include")
|
||||
set(GNUTLS_LIBS "-lgnutls")
|
||||
configure_file("${SOURCE_PATH}/lib/gnutls.pc.in" "${CURRENT_PACKAGES_DIR}/lib/pkgconfig/gnutls.pc" @ONLY)
|
||||
|
||||
set(prefix "${CURRENT_INSTALLED_DIR}/debug")
|
||||
set(exec_prefix "\${prefix}")
|
||||
set(libdir "\${prefix}/lib")
|
||||
set(includedir "\${prefix}/../include")
|
||||
set(GNUTLS_LIBS "-lgnutlsd")
|
||||
configure_file("${SOURCE_PATH}/lib/gnutls.pc.in" "${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/gnutls.pc" @ONLY)
|
||||
if(NOT VCPKG_BUILD_TYPE)
|
||||
set(prefix "${CURRENT_INSTALLED_DIR}/debug")
|
||||
set(exec_prefix "\${prefix}")
|
||||
set(libdir "\${prefix}/lib")
|
||||
set(includedir "\${prefix}/../include")
|
||||
set(GNUTLS_LIBS "-lgnutlsd")
|
||||
configure_file("${SOURCE_PATH}/lib/gnutls.pc.in" "${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/gnutls.pc" @ONLY)
|
||||
endif()
|
||||
|
||||
vcpkg_fixup_pkgconfig()
|
||||
vcpkg_copy_pdbs()
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "shiftmedia-libgnutls",
|
||||
"version": "3.8.7",
|
||||
"port-version": 1,
|
||||
"port-version": 2,
|
||||
"description": "Unofficial GnuTLS fork with added custom native Visual Studio project build tools. ",
|
||||
"homepage": "https://github.com/ShiftMediaProject/gnutls",
|
||||
"license": "LGPL-2.1-only",
|
||||
|
@ -8346,7 +8346,7 @@
|
||||
},
|
||||
"shiftmedia-libgnutls": {
|
||||
"baseline": "3.8.7",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"shiftmedia-libgpg-error": {
|
||||
"baseline": "1.45",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "dcd9bcc539c9c95eb9c40a11f053bd2bad22e822",
|
||||
"version": "3.8.7",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "8b5163512dd0d8522a6da9f2c55ac8ca1d1d378f",
|
||||
"version": "3.8.7",
|
||||
|
Loading…
x
Reference in New Issue
Block a user