mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-25 17:20:57 +08:00
[libxfont] fix single config builds (#42730)
This commit is contained in:
parent
a09e4e86d8
commit
2892ef50b7
@ -35,10 +35,12 @@ if(VCPKG_TARGET_IS_WINDOWS)
|
||||
file(READ "${_file}" _contents)
|
||||
string(REPLACE "-lm" "" _contents "${_contents}")
|
||||
file(WRITE "${_file}" "${_contents}")
|
||||
set(_file "${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/xfont2.pc")
|
||||
file(READ "${_file}" _contents)
|
||||
string(REPLACE "-lm" "" _contents "${_contents}")
|
||||
file(WRITE "${_file}" "${_contents}")
|
||||
if(NOT VCPKG_BUILD_TYPE)
|
||||
set(_file "${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/xfont2.pc")
|
||||
file(READ "${_file}" _contents)
|
||||
string(REPLACE "-lm" "" _contents "${_contents}")
|
||||
file(WRITE "${_file}" "${_contents}")
|
||||
endif()
|
||||
endif()
|
||||
vcpkg_fixup_pkgconfig()
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "libxfont",
|
||||
"version": "2.0.5",
|
||||
"port-version": 1,
|
||||
"description": "X font handling library for server & utilities",
|
||||
"homepage": "https://gitlab.freedesktop.org/xorg/lib/libxfont",
|
||||
"license": null,
|
||||
|
@ -5410,7 +5410,7 @@
|
||||
},
|
||||
"libxfont": {
|
||||
"baseline": "2.0.5",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"libxft": {
|
||||
"baseline": "2.3.4",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "68da445b35a06c8bdc939e363098874e80da5b14",
|
||||
"version": "2.0.5",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "f78821d4b3573bc0b927dc76f10660665f0b2893",
|
||||
"version": "2.0.5",
|
||||
|
Loading…
x
Reference in New Issue
Block a user