]> Dogcows Code - chaz/openbox/commitdiff
use the right lib
authorDana Jansens <danakj@orodu.net>
Sat, 11 Jan 2003 04:26:14 +0000 (04:26 +0000)
committerDana Jansens <danakj@orodu.net>
Sat, 11 Jan 2003 04:26:14 +0000 (04:26 +0000)
m4/python.m4

index e9f9c6ac5e16e3b6b9eae8e5d6be7b835126fcb8..d00ac4785c103d78eda7dccc9c366b7668023126 100644 (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
This page took 0.024042 seconds and 4 git commands to generate.