Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP2:Update
python-dmidecode
detect-lib-with-py3.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File detect-lib-with-py3.patch of Package python-dmidecode
Index: python-dmidecode-3.12.2/src/setup_common.py =================================================================== --- python-dmidecode-3.12.2/src/setup_common.py +++ python-dmidecode-3.12.2/src/setup_common.py @@ -30,7 +30,7 @@ import subprocess, sys if sys.version_info[0] < 3: import commands as subprocess from os import path as os_path -from distutils.sysconfig import get_python_lib +from distutils.sysconfig import get_python_lib, get_config_var # libxml2 - C flags def libxml2_include(incdir): @@ -69,7 +69,10 @@ def libxml2_lib(libdir, libs): libs.append(l.replace("-l", "", 1)) # this library is not reported and we need it anyway - libs.append('xml2mod') + if get_config_var("SOABI"): + libs.append('xml2mod.%s' % get_config_var("SOABI")) + else: + libs.append('xml2mod')
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