diff options
author | rezso <[email protected]> | 2015-04-07 19:45:11 +0200 |
---|---|---|
committer | rezso <[email protected]> | 2015-04-07 19:45:11 +0200 |
commit | 448238001f5f1861477ba363da7aed0f0939e3c6 (patch) | |
tree | 41806896ac4b4ccd7b90cd2ec9c976acf705c9a0 | |
parent | 537857fcb56deb0d5d81dd2ee0dccb4c277e0c89 (diff) | |
download | eom-448238001f5f1861477ba363da7aed0f0939e3c6.tar.bz2 eom-448238001f5f1861477ba363da7aed0f0939e3c6.tar.xz |
Add libutil to PYTHON_LIBS
to prevent possible "undefined reference to `forkpty'" and "undefined reference to `openpty'" linker errors
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 415622b..95c20b4 100644 --- a/configure.ac +++ b/configure.ac @@ -396,7 +396,7 @@ fi if test "x$have_python" != "xno"; then PY_PREFIX=`$PYTHON -c 'import sys ; print sys.prefix'` PY_EXEC_PREFIX=`$PYTHON -c 'import sys ; print sys.exec_prefix'` - PYTHON_LIBS="-lpython$PYTHON_VERSION" + PYTHON_LIBS="-lpython$PYTHON_VERSION -lutil" PYTHON_LIB_LOC="-L$PY_EXEC_PREFIX/lib/python$PYTHON_VERSION/config" PYTHON_CFLAGS="-I$PY_PREFIX/include/python$PYTHON_VERSION" PYTHON_MAKEFILE="$libdir/python$PYTHON_VERSION/config/Makefile" |