build script: fix prefix directory creation

This commit is contained in:
alexey.lysiuk 2020-12-26 12:00:07 +02:00
parent c36743fd96
commit cd6d474727

View file

@ -1817,7 +1817,8 @@ class Builder(object):
cleanup = True cleanup = True
for dep in os.scandir(self.deps_path): for dep in os.scandir(self.deps_path):
Builder.symlink_directory(dep.path, self.prefix_path, cleanup) if dep.is_dir():
Builder.symlink_directory(dep.path, self.prefix_path, cleanup)
# Do symlink cleanup only once # Do symlink cleanup only once
cleanup = False cleanup = False