build script: allow merging of targets built for only one architecture

This commit is contained in:
alexey.lysiuk 2021-01-03 12:58:19 +02:00
parent ea42013015
commit 1b5f2ccfbc

View file

@ -1943,7 +1943,7 @@ class Builder(object):
@staticmethod @staticmethod
def _merge_install_paths(src_paths: typing.Sequence[str], dst_path: str, missing_files_only=False): def _merge_install_paths(src_paths: typing.Sequence[str], dst_path: str, missing_files_only=False):
if len(src_paths) <= 1: if len(src_paths) == 0:
return return
if not missing_files_only: if not missing_files_only: