use the right lib
This commit is contained in:
parent
02601c2856
commit
346151534b
1 changed files with 2 additions and 2 deletions
|
@ -40,12 +40,12 @@ AC_DEFUN([PYTHON_DEVEL],
|
||||||
do
|
do
|
||||||
if test -r "$i/libpython$PYTHON_VERSION.so"; then
|
if test -r "$i/libpython$PYTHON_VERSION.so"; then
|
||||||
PYLIB="$i/libpython$PYTHON_VERSION.so"
|
PYLIB="$i/libpython$PYTHON_VERSION.so"
|
||||||
PYTHON_LIBS="-L$i -l$PYVERSION"
|
PYTHON_LIBS="-L$i -lpython$PYTHON_VERSION"
|
||||||
break
|
break
|
||||||
else
|
else
|
||||||
if test -r "$i/lib$PYVERSION.a"; then
|
if test -r "$i/lib$PYVERSION.a"; then
|
||||||
PYLIB="$i/lib$PYVERSION.a"
|
PYLIB="$i/lib$PYVERSION.a"
|
||||||
PYTHON_LIBS="-L$i -l$PYVERSION -lpthread -ldl -lutil -lm"
|
PYTHON_LIBS="-L$i -lpython$PYTHON_VERSION -lpthread -ldl -lutil -lm"
|
||||||
break
|
break
|
||||||
else
|
else
|
||||||
# look for really old versions
|
# look for really old versions
|
||||||
|
|
Loading…
Reference in a new issue