Include libmicrohttpd patches on Flathub compilation

This commit is contained in:
Emmanuel Engelhart 2024-12-19 16:02:45 +01:00
parent d92ac512f9
commit 525e4acc3b
No known key found for this signature in database
GPG Key ID: 120B30D020B553D3
1 changed files with 1 additions and 1 deletions

View File

@ -595,7 +595,7 @@ def update_flathub_git():
call(command)
shutil.copy(str(BASE_DIR / "org.kiwix.desktop.json"), str(git_repo_dir))
patch_dir = KBUILD_SOURCE_DIR / "kiwixbuild" / "patches"
for dep in ["pugixml"]:
for dep in ["pugixml", "libmicrohttpd"]:
for f in patch_dir.glob("{}_*.patch".format(dep)):
shutil.copy(str(f), str(git_repo_dir / "patches"))
command = ["git", "add", "-A", "."]