mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 03:38:59 +08:00
Compile cpython dependencies statically
Contributes to CURA-9365
This commit is contained in:
parent
f58389d599
commit
30135072de
@ -240,6 +240,7 @@
|
|||||||
- "mpdecimal/2.5.0"
|
- "mpdecimal/2.5.0"
|
||||||
- "tcl/8.6.10"
|
- "tcl/8.6.10"
|
||||||
- "tk/8.6.10"
|
- "tk/8.6.10"
|
||||||
|
- "zlib/1.2.12"
|
||||||
runinfo:
|
runinfo:
|
||||||
entrypoint: "cura_app.py"
|
entrypoint: "cura_app.py"
|
||||||
pyinstaller:
|
pyinstaller:
|
||||||
|
10
conanfile.py
10
conanfile.py
@ -85,8 +85,16 @@ class CuraConan(ConanFile):
|
|||||||
|
|
||||||
def configure(self):
|
def configure(self):
|
||||||
self.options["*"].shared = True
|
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":
|
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"].cxx = True
|
||||||
self.options["mpdecimal"].shared = False
|
self.options["mpdecimal"].shared = False
|
||||||
self.options["libffi"].shared = False
|
self.options["libffi"].shared = False
|
||||||
|
Loading…
x
Reference in New Issue
Block a user