]> git.pld-linux.org Git - packages/libplist.git/blob - python-3.8.patch
- fix building with python 3.8
[packages/libplist.git] / python-3.8.patch
1 --- libplist-2.0.0/m4/ac_python_devel.m4~       2015-01-31 20:18:32.000000000 +0100
2 +++ libplist-2.0.0/m4/ac_python_devel.m4        2019-11-02 21:47:11.479855891 +0100
3 @@ -169,10 +169,10 @@
4         # Check for Python library path
5         #
6         AC_MSG_CHECKING([for Python library path])
7 -       if type $PYTHON-config; then
8 -               PYTHON_LDFLAGS=`$PYTHON-config --ldflags`
9 -       fi
10         if test -z "$PYTHON_LDFLAGS"; then
11 +               if type $PYTHON-config; then
12 +                       PYTHON_LDFLAGS=`$PYTHON-config --ldflags`
13 +               fi
14                 # (makes two attempts to ensure we've got a version number
15                 # from the interpreter)
16                 py_version=`$PYTHON -c "from distutils.sysconfig import *; \
This page took 0.075203 seconds and 3 git commands to generate.