Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.5:Update
cmpi-bindings
0001-Linking-libpython3.6m-instead.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Linking-libpython3.6m-instead.patch of Package cmpi-bindings
From d8e79744b706ca6ad2388cec1bd7df45f53a4264 Mon Sep 17 00:00:00 2001 From: Max Lin <mlin@suse.com> Date: Tue, 4 Jan 2022 17:15:00 +0800 Subject: [PATCH] Linking libpython3.6m instead --- swig/python/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/swig/python/CMakeLists.txt b/swig/python/CMakeLists.txt index b89ef1c..84f69b1 100644 --- a/swig/python/CMakeLists.txt +++ b/swig/python/CMakeLists.txt @@ -51,7 +51,11 @@ ENDIF (BUILD_PYTHON3) ADD_LIBRARY( ${NAME} SHARED ${SWIG_OUTPUT}) #TARGET_LINK_LIBRARIES( ${NAME} ${PYTHON_LIBRARIES} ) +IF ("${PYTHON_MAJOR_VERSION}.${PYTHON_MINOR_VERSION}" STREQUAL "3.6") +TARGET_LINK_LIBRARIES( ${NAME} python${PYTHON_MAJOR_VERSION}.${PYTHON_MINOR_VERSION}m ) +ELSE () TARGET_LINK_LIBRARIES( ${NAME} python${PYTHON_MAJOR_VERSION}.${PYTHON_MINOR_VERSION} ) +ENDIF () TARGET_LINK_LIBRARIES( ${NAME} pthread ) TARGET_LINK_LIBRARIES( ${NAME} dl ) TARGET_LINK_LIBRARIES( ${NAME} util ) -- 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