Don't strip binaries

On some Linux systems it fails due to an invalid Elf handle.
Stripping the binaries on Linux/MacOS is a likely culprit.
Disabling this option seems a save choice at least for now.

Contributes to CURA-9365
This commit is contained in:
j.spijker@ultimaker.com 2022-07-06 07:37:46 +02:00 committed by jspijker
parent 8a14406c63
commit 2ee58e24bc

View file

@ -197,7 +197,7 @@ class CuraConan(ConanFile):
entitlements_file = entitlements_file,
osx_bundle_identifier = "'nl.ultimaker.cura'" if self.settings.os == "Macos" else "None",
upx = str(self.settings.os == "Windows"),
strip = str(self.settings.os != "Windows"),
strip = False, # This should be possible on Linux and MacOS but, it can also cause issues on some distributions. Safest is to disable it for now
target_arch = "'x86_64'" if self.settings.os == "Macos" else "None", # FIXME: Make this dependent on the settings.arch_target
macos = self.settings.os == "Macos"
))