depends: Fix CMake-generated libevent*.pc files

See https://github.com/libevent/libevent/pull/1622.
This commit is contained in:
Hennadii Stepanov authored and Cory Fields committed 2024-07-19 17:45:53 +00:00
1 parent ed739d14b5
commit 8c935e625e
2 files changed
+28 -1

No files matched your search

+3 -1
View File
@@ -4,6 +4,7 @@ $(package)_download_path=https://github.com/libevent/libevent/releases/download/
$(package)_file_name=$(package)-$($(package)_version).tar.gz
$(package)_sha256_hash=92e6de1be9ec176428fd2367677e61ceffc2ee1cb119035037a27d346b0403bb
$(package)_patches=cmake_fixups.patch
$(package)_patches+=fix_mingw_link.patch
$(package)_build_subdir=build
# When building for Windows, we set _WIN32_WINNT to target the same Windows
@@ -21,7 +22,8 @@ define $(package)_set_vars
endef
define $(package)_preprocess_cmds
patch -p1 < $($(package)_patch_dir)/cmake_fixups.patch
patch -p1 < $($(package)_patch_dir)/cmake_fixups.patch && \
patch -p1 < $($(package)_patch_dir)/fix_mingw_link.patch
endef
define $(package)_config_cmds