From 30135072de359f6a3c36bb76b1261c003d14aec3 Mon Sep 17 00:00:00 2001 From: "j.spijker@ultimaker.com" Date: Thu, 23 Jun 2022 12:58:09 +0200 Subject: [PATCH] Compile cpython dependencies statically Contributes to CURA-9365 --- conandata.yml | 1 + conanfile.py | 10 +++++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/conandata.yml b/conandata.yml index 0244b10613..52cec57354 100644 --- a/conandata.yml +++ b/conandata.yml @@ -240,6 +240,7 @@ - "mpdecimal/2.5.0" - "tcl/8.6.10" - "tk/8.6.10" + - "zlib/1.2.12" runinfo: entrypoint: "cura_app.py" pyinstaller: diff --git a/conanfile.py b/conanfile.py index e4ada61bed..4a48394e47 100644 --- a/conanfile.py +++ b/conanfile.py @@ -85,8 +85,16 @@ class CuraConan(ConanFile): def configure(self): self.options["*"].shared = True + self.options["bzip2"].shared = False + self.options["expat"].shared = False + self.options["openssl"].shared = False + self.options["sqlite3"].shared = False + self.options["tcl"].shared = False + self.options["tk"].shared = False + self.options["xz_utils"].shared = False + self.options["zlib"].shared = False if self.settings.os == "Windows": - # Needed to compile CPython on Windows with our configuration voor Visual Studio + # Needed to compile CPython on Windows with our configuration for Visual Studio self.options["mpdecimal"].cxx = True self.options["mpdecimal"].shared = False self.options["libffi"].shared = False