]> granicus.if.org Git - graphviz/commitdiff
trying: '-undefined dynamic-lookup' for python extension
authorJohn Ellson <ellson@research.att.com>
Wed, 10 Sep 2014 17:51:45 +0000 (13:51 -0400)
committerJohn Ellson <ellson@research.att.com>
Wed, 10 Sep 2014 17:51:45 +0000 (13:51 -0400)
configure.ac

index 6f6b409fc5e1e209e75f0d10647b3500ed1a705b..2dd6bb339739e39d1dcaf1e05b05a28cb1b3ee74 100644 (file)
@@ -1177,7 +1177,8 @@ else
       else
         PYTHON_PREFIX=`$PYTHON -c "import sys; print sys.prefix"`
         PYTHON_INCLUDES=-I$PYTHON_PREFIX/include/python$PYTHON_VERSION_SHORT
-        PYTHON_LIBS="-lpython$PYTHON_VERSION_SHORT"
+#        PYTHON_LIBS="-lpython$PYTHON_VERSION_SHORT"
+       PYTHON_LIBS="-undefined dynamic_lookup"
         PYTHON_INSTALL_DIR="`$PYTHON $srcdir/config/config_python.py archsitelib`"
         save_CPPFLAGS=$CPPFLAGS
         CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES"