diff --git a/Ultimaker-Cura.spec.jinja b/Ultimaker-Cura.spec.jinja index 04ce3a4dfa..ee2451c710 100644 --- a/Ultimaker-Cura.spec.jinja +++ b/Ultimaker-Cura.spec.jinja @@ -38,7 +38,7 @@ exe = EXE( name=r'{{ name }}', debug=False, bootloader_ignore_signals=False, - strip=False, + strip={{ strip }}, upx={{ upx }}, console=False, disable_windowed_traceback=False, diff --git a/conanfile.py b/conanfile.py index 56c784e5ed..f32964266c 100644 --- a/conanfile.py +++ b/conanfile.py @@ -191,6 +191,7 @@ class CuraConan(ConanFile): entitlements_file = entitlements_file, osx_bundle_identifier = "nl.ultimaker.cura.dmg" if self.settings.os == "Macos" else "None", upx = str(self.settings.os == "Windows"), + strip = str(self.settings.os != "Windows"), target_arch = "x86_64" if self.settings.os == "Macos" else "None" # FIXME: Make this dependent on the settings.arch_target ))