Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
windows:mingw:win64
mingw64-python3
0003-Use-static-zlilb-to-avoid-the-requirement-...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0003-Use-static-zlilb-to-avoid-the-requirement-of-setting.patch of Package mingw64-python3
From 3d8f4955639ae0026efd2ce87c2297db7b1afaa3 Mon Sep 17 00:00:00 2001 From: Ralf Habacker <ralf.habacker@freenet.de> Date: Sun, 16 Oct 2022 19:52:36 +0200 Subject: [PATCH] Use static zlib to avoid the requirement of setting shared library path; add required import library for _set_abort_behavior --- cmake/libpython/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmake/libpython/CMakeLists.txt b/cmake/libpython/CMakeLists.txt index 40d32f8..5ba3e5a 100644 --- a/cmake/libpython/CMakeLists.txt +++ b/cmake/libpython/CMakeLists.txt @@ -463,6 +463,9 @@ add_executable(_freeze_importlib ${LIBPYTHON_OMIT_FROZEN_SOURCES} ) target_link_libraries(_freeze_importlib ${LIBPYTHON_TARGET_LIBRARIES}) +if(WIN32) + target_link_libraries(_freeze_importlib libz.a msvcr100) +endif() if(builtin_compile_definitions_without_py_limited_api) target_compile_definitions(_freeze_importlib PUBLIC ${builtin_compile_definitions_without_py_limited_api}) endif() -- 2.34.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor