Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.2
thunarx-python
thunarx-python-py3.8.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File thunarx-python-py3.8.diff of Package thunarx-python
diff --git a/aclocal.m4 b/aclocal.m4 index 402f5c8..3f9dd64 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -11008,7 +11008,9 @@ py_lib_name=`basename $py_include_path` if test "x$PYTHON_LIBS" = x; then PYTHON_CONFIG=`which $PYTHON`-config if test -x "$PYTHON_CONFIG"; then - PYTHON_LIBS=`$PYTHON_CONFIG --ldflags 2>/dev/null` + # python 3.8 needs this, but 3.6 does not support it + $PYTHON_CONFIG --ldflags --embed >/dev/null 2>&1 && EMBED=--embed + PYTHON_LIBS=`$PYTHON_CONFIG --ldflags $EMBED 2>/dev/null` else PYTHON_LIBS="-L${py_prefix}/lib -lpython${PYTHON_VERSION}" fi diff --git a/configure b/configure index 9fabaa0..690ca33 100755 --- a/configure +++ b/configure @@ -13557,7 +13557,9 @@ py_lib_name=`basename $py_include_path` if test "x$PYTHON_LIBS" = x; then PYTHON_CONFIG=`which $PYTHON`-config if test -x "$PYTHON_CONFIG"; then - PYTHON_LIBS=`$PYTHON_CONFIG --ldflags 2>/dev/null` + # python 3.8 needs this, but 3.6 does not support it + $PYTHON_CONFIG --ldflags --embed >/dev/null 2>&1 && EMBED=--embed + PYTHON_LIBS=`$PYTHON_CONFIG --ldflags $EMBED 2>/dev/null` else PYTHON_LIBS="-L${py_prefix}/lib -lpython${PYTHON_VERSION}" fi
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