Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorj.spijker@ultimaker.com <jelle spijker>2022-06-19 20:08:24 +0300
committerJelle Spijker <j.spijker@ultimaker.com>2022-06-19 20:08:24 +0300
commita31124673bf204184fa34fd513e7314a63eb40fc (patch)
treef760ba45cb1653b4fa94b9bc059b5500d952603e /conanfile.py
parent0fb8d62825b5fe3f59b7823d4adc4509bbf33e8e (diff)
Compile libffi and mpdecimal statically on Windows
Contributes to CURA-9365
Diffstat (limited to 'conanfile.py')
-rw-r--r--conanfile.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/conanfile.py b/conanfile.py
index 0a24eddd18..fc60b9a228 100644
--- a/conanfile.py
+++ b/conanfile.py
@@ -86,7 +86,10 @@ class CuraConan(ConanFile):
def configure(self):
self.options["*"].shared = True
if self.settings.os == "Windows":
- self.options["mpdecimal"].cxx = False
+ # Needed to compile CPython on Windows with our configuration voor Visual Studio
+ self.options["mpdecimal"].cxx = True
+ self.options["mpdecimal"].shared = False
+ self.options["libffi"].shared = False
def validate(self):
if self.version and tools.Version(self.version) <= tools.Version("4"):