mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
Bugfix for bug 768
[ Backported from commit 49ce097505cd05d9e15d7710d203cee106de2937 in ELinks 0.12.GIT. The configure.in of 0.11 does not use $PYTHON and $python_prefix. --KON ]
This commit is contained in:
parent
63de05a585
commit
421d04093a
@ -681,7 +681,7 @@ cf_result=no
|
||||
EL_SAVE_FLAGS
|
||||
|
||||
if test "$enable_python" = "yes"; then
|
||||
PYTHON_LIBS="-lpython"
|
||||
PYTHON_LIBS="-lpython`python -c 'from distutils import sysconfig; print sysconfig.get_config_var("VERSION")' 2> /dev/null`"
|
||||
PYTHON_CFLAGS="-I`python -c 'from distutils import sysconfig; print sysconfig.get_python_inc()' 2> /dev/null`"
|
||||
LIBS="$PYTHON_LIBS $LIBS"
|
||||
CFLAGS="$PYTHON_CFLAGS $CFLAGS"
|
||||
|
Loading…
x
Reference in New Issue
Block a user