From c0bf54486dbd8f75b93d1249336c323504ab963b Mon Sep 17 00:00:00 2001 From: Matthieu Gautier Date: Sat, 24 Aug 2024 11:23:43 +0200 Subject: [PATCH] Correctly include dll and lib of libzim archive on Windows --- .github/scripts/common.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/scripts/common.py b/.github/scripts/common.py index 8361baad..4bdc1d06 100644 --- a/.github/scripts/common.py +++ b/.github/scripts/common.py @@ -103,8 +103,13 @@ def major_version(version: str) -> str: ), "lib/libzim.dylib", "lib/*/libzim.pc", - "lib/libzim.dll", - "lib/libzim.lib", + "bin/zim-{version}.dll".format( + version=major_version(main_project_versions["libzim"]) + ), + "bin/zim-{version}.pdb".format( + version=major_version(main_project_versions["libzim"]) + ), + "lib/zim.lib", "include/zim/**/*.h", "share/icu/{}/icudt{}l.dat".format( base_deps_versions["icu4c"], major_version(base_deps_versions["icu4c"])