]> granicus.if.org Git - graphviz/commitdiff
don't link python binding with -lpython
authorellson <devnull@localhost>
Wed, 24 Oct 2007 12:28:06 +0000 (12:28 +0000)
committerellson <devnull@localhost>
Wed, 24 Oct 2007 12:28:06 +0000 (12:28 +0000)
patch from: Cyril Brulebois <cyril.brulebois@enst-bretagne.fr>

configure.ac

index f0fb08245709499a28cb2ca9bcff13b8d071cd6f..3c5144171367b4ed0b20f5ff469eb3ff13adddbf 100644 (file)
@@ -841,7 +841,7 @@ if test "x$PYTHON" != "x"; then
   else
     PYTHON_PREFIX=`$PYTHON -c "import sys; print sys.prefix"`
     PYTHON_INCLUDES=-I$PYTHON_PREFIX/include/python$PYTHON_VERSION_SHORT
-    PYTHON_LIBS="-L$PYTHON_PREFIX/lib$LIBPOSTFIX -lpython$PYTHON_VERSION_SHORT"
+    PYTHON_LIBS="-L$PYTHON_PREFIX/lib$LIBPOSTFIX"
     save_CPPFLAGS=$CPPFLAGS
     CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES"
     AC_CHECK_HEADER(Python.h,,[