From bdc809ada5d0bb4ff331ccbf609bd8a0870388e4 Mon Sep 17 00:00:00 2001 From: John Ellson Date: Wed, 10 Sep 2014 13:51:45 -0400 Subject: [PATCH] trying: '-undefined dynamic-lookup' for python extension --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 6f6b409fc..2dd6bb339 100644 --- a/configure.ac +++ b/configure.ac @@ -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" -- 2.50.1