summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorrezso <[email protected]>2015-04-07 19:45:11 +0200
committerrezso <[email protected]>2015-04-07 19:45:11 +0200
commit448238001f5f1861477ba363da7aed0f0939e3c6 (patch)
tree41806896ac4b4ccd7b90cd2ec9c976acf705c9a0 /configure.ac
parent537857fcb56deb0d5d81dd2ee0dccb4c277e0c89 (diff)
downloadeom-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
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
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"