mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-25 07:33:57 -06:00
Add copied openssl 1.1.1l binaries to pyinstall binaries
Contributes to CURA-9342
This commit is contained in:
parent
57a0c214d1
commit
7068c87130
2 changed files with 8 additions and 2 deletions
4
.github/workflows/cura-installer.yml
vendored
4
.github/workflows/cura-installer.yml
vendored
|
@ -175,13 +175,13 @@ jobs:
|
||||||
- name: Install OpenSSL shared
|
- name: Install OpenSSL shared
|
||||||
run: conan install openssl/1.1.1l@_/_ --build=missing --update -o openssl:shared=True -g deploy
|
run: conan install openssl/1.1.1l@_/_ --build=missing --update -o openssl:shared=True -g deploy
|
||||||
|
|
||||||
- name: Install OpenSSL shared (Bash)
|
- name: Copy OpenSSL shared (Bash)
|
||||||
if: ${{ runner.os != 'Windows' }}
|
if: ${{ runner.os != 'Windows' }}
|
||||||
run: |
|
run: |
|
||||||
cp ./openssl/lib/*.so* ./cura_inst/bin/ || true
|
cp ./openssl/lib/*.so* ./cura_inst/bin/ || true
|
||||||
cp ./openssl/lib/*.dylib* ./cura_inst/bin/ || true
|
cp ./openssl/lib/*.dylib* ./cura_inst/bin/ || true
|
||||||
|
|
||||||
- name: Install OpenSSL shared (Powershell)
|
- name: Copy OpenSSL shared (Powershell)
|
||||||
if: ${{ runner.os == 'Windows' }}
|
if: ${{ runner.os == 'Windows' }}
|
||||||
run: |
|
run: |
|
||||||
cp openssl/bin/*.dll ./cura_inst/Scripts/
|
cp openssl/bin/*.dll ./cura_inst/Scripts/
|
||||||
|
|
|
@ -171,6 +171,12 @@ class CuraConan(ConanFile):
|
||||||
for bin in src_path.glob(binary["binary"]):
|
for bin in src_path.glob(binary["binary"]):
|
||||||
binaries.append((str(bin), binary["dst"]))
|
binaries.append((str(bin), binary["dst"]))
|
||||||
|
|
||||||
|
# Add dynamic libs in the venv bin/Script and lib Path. This is needed because we might copy some additional libs
|
||||||
|
# e.q.: OpenSSL 1.1.1l in that directory with a separate:
|
||||||
|
# `conan install openssl@1.1.1l -g deploy && cp openssl/bin/*.so cura_inst/bin`
|
||||||
|
for bin in self._script_dir.glob("*.[so|dll|dylib]"):
|
||||||
|
binaries.append(str(bin), ".")
|
||||||
|
|
||||||
for _, dependency in self.dependencies.items():
|
for _, dependency in self.dependencies.items():
|
||||||
# if dependency.ref.name == "cpython":
|
# if dependency.ref.name == "cpython":
|
||||||
# continue
|
# continue
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue