aedi: create lib directory before creating moltenvk dylib

fix ld: warning: directory not found for option '-L/.../zdoom-macos-deps/prefix/lib'
This commit is contained in:
alexey.lysiuk 2024-02-23 13:08:51 +02:00
parent 7d8e2c7e20
commit 2956fc2ff9

View file

@ -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 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: if static_lib_time != dynamic_lib_time:
os.makedirs(state.lib_path, exist_ok=True)
args = [ args = [
'clang++', 'clang++',
'-stdlib=libc++', '-stdlib=libc++',