build script: fix missing symlink cleanup in prefix directory

This commit is contained in:
alexey.lysiuk 2021-01-06 11:33:55 +02:00
parent 3806c4554e
commit 2d534e7872

View file

@ -1996,8 +1996,8 @@ class Builder(object):
if dep.is_dir(): if dep.is_dir():
Builder.symlink_directory(dep.path, self.prefix_path, cleanup) Builder.symlink_directory(dep.path, self.prefix_path, cleanup)
# Do symlink cleanup only once # Do symlink cleanup only once
cleanup = False cleanup = False
@staticmethod @staticmethod
def symlink_directory(src_path: str, dst_path: str, cleanup=True): def symlink_directory(src_path: str, dst_path: str, cleanup=True):