mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 10:21:07 +08:00
[librsvg] Remove -lm from the .pc file in Windows (#32893)
* [librsvg] Remove -lm from the .pc file in Windows * Modify
This commit is contained in:
parent
8b2d844e11
commit
83f77efbd1
@ -30,6 +30,13 @@ vcpkg_cmake_config_fixup(PACKAGE_NAME unofficial-librsvg CONFIG_PATH share/unoff
|
||||
|
||||
vcpkg_fixup_pkgconfig()
|
||||
|
||||
if(VCPKG_TARGET_IS_WINDOWS)
|
||||
file(GLOB_RECURSE pc_files "${CURRENT_PACKAGES_DIR}/*.pc")
|
||||
foreach(pc_file ${pc_files})
|
||||
vcpkg_replace_string("${pc_file}" " -lm" "")
|
||||
endforeach()
|
||||
endif()
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING")
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "librsvg",
|
||||
"version": "2.40.20",
|
||||
"port-version": 8,
|
||||
"port-version": 9,
|
||||
"description": "A small library to render Scalable Vector Graphics (SVG)",
|
||||
"homepage": "https://gitlab.gnome.org/GNOME/librsvg",
|
||||
"license": "LGPL-2.0-or-later",
|
||||
|
@ -4534,7 +4534,7 @@
|
||||
},
|
||||
"librsvg": {
|
||||
"baseline": "2.40.20",
|
||||
"port-version": 8
|
||||
"port-version": 9
|
||||
},
|
||||
"librsync": {
|
||||
"baseline": "2.3.2",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "c75d4ca281d1bba78571abdb035e025ded217c00",
|
||||
"version": "2.40.20",
|
||||
"port-version": 9
|
||||
},
|
||||
{
|
||||
"git-tree": "d72d62fa58fa959323e0bda46bcf26991e460289",
|
||||
"version": "2.40.20",
|
||||
|
Loading…
x
Reference in New Issue
Block a user