stricter check for whether lib is a .framework

This commit is contained in:
2024-09-07 18:35:06 -05:00
committed by Celtic Minstrel
parent d60a12c070
commit 43346df516

View File

@@ -172,7 +172,7 @@ if platform == "darwin":
Execute(Mkdir(target))
deps = check_deps(source[0].path)
for dep in deps:
if 'framework' in dep:
if dep.endswith('.framework'):
paths = Split(env["FRAMEWORKPATH"])
else:
paths = env["LIBPATH"]