Include libmicrohttpd patches on Flathub compilation
This commit is contained in:
parent
d92ac512f9
commit
525e4acc3b
|
@ -595,7 +595,7 @@ def update_flathub_git():
|
||||||
call(command)
|
call(command)
|
||||||
shutil.copy(str(BASE_DIR / "org.kiwix.desktop.json"), str(git_repo_dir))
|
shutil.copy(str(BASE_DIR / "org.kiwix.desktop.json"), str(git_repo_dir))
|
||||||
patch_dir = KBUILD_SOURCE_DIR / "kiwixbuild" / "patches"
|
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)):
|
for f in patch_dir.glob("{}_*.patch".format(dep)):
|
||||||
shutil.copy(str(f), str(git_repo_dir / "patches"))
|
shutil.copy(str(f), str(git_repo_dir / "patches"))
|
||||||
command = ["git", "add", "-A", "."]
|
command = ["git", "add", "-A", "."]
|
||||||
|
|
Loading…
Reference in New Issue