use the right lib

This commit is contained in:
Dana Jansens 2003-01-11 04:26:14 +00:00
parent 02601c2856
commit 346151534b

View file

@ -40,12 +40,12 @@ AC_DEFUN([PYTHON_DEVEL],
do
if test -r "$i/libpython$PYTHON_VERSION.so"; then
PYLIB="$i/libpython$PYTHON_VERSION.so"
PYTHON_LIBS="-L$i -l$PYVERSION"
PYTHON_LIBS="-L$i -lpython$PYTHON_VERSION"
break
else
if test -r "$i/lib$PYVERSION.a"; then
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
else
# look for really old versions