From 5cae91d01a771d8168023c76c66cb87b94ed278f Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sat, 5 Jun 2021 12:59:37 +0300 Subject: [PATCH] aedi: workaround devilutionx compilation issue --- aedi/target/main.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/aedi/target/main.py b/aedi/target/main.py index 9eadd382..2f359231 100644 --- a/aedi/target/main.py +++ b/aedi/target/main.py @@ -297,6 +297,12 @@ class DevilutionXTarget(CMakeMainTarget): super().configure(state) + # Remove version file that is included erroneously because of case-insensitive file system + version_file = state.build_path + '_deps/libzt-src/ext/ZeroTierOne/ext/miniupnpc/VERSION' + + if os.path.exists(version_file): + os.unlink(version_file) + class EDuke32Target(MakeMainTarget): def __init__(self, name='eduke32'):