From 2956fc2ff9c8e413690b0c4c22ca8d10849c5fdc Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Fri, 23 Feb 2024 13:08:51 +0200 Subject: [PATCH] aedi: create lib directory before creating moltenvk dylib fix ld: warning: directory not found for option '-L/.../zdoom-macos-deps/prefix/lib' --- aedi/target/library_tier1.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/aedi/target/library_tier1.py b/aedi/target/library_tier1.py index af01d143..04c779ce 100644 --- a/aedi/target/library_tier1.py +++ b/aedi/target/library_tier1.py @@ -271,6 +271,8 @@ class MoltenVKTarget(base.MakeTarget): dynamic_lib_time = os.stat(dynamic_lib_path).st_mtime if os.path.exists(dynamic_lib_path) else 0 if static_lib_time != dynamic_lib_time: + os.makedirs(state.lib_path, exist_ok=True) + args = [ 'clang++', '-stdlib=libc++',