Build: Fix inverted filter condition for libraries.

Noticed that we _only_ kept the libraries we _didn't_ want, instead of the inverse :-p

part of CURA-12229
This commit is contained in:
Remco Burema 2024-10-29 13:49:24 +01:00
parent 52824c4872
commit 2d9e7a347f

View file

@ -283,7 +283,7 @@ class CuraConan(ConanFile):
# filter all binary files in binaries on the blacklist
blacklist = pyinstaller_metadata["blacklist"]
filtered_binaries = [b for b in binaries if any([all([(part in b) for part in parts]) for parts in blacklist])]
filtered_binaries = [b for b in binaries if not any([all([(part in b) for part in parts]) for parts in blacklist])]
# TEMP: print to make sure -- remove this before merge
print("specifically don't include:")