summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/external/python.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/src/external/python.m4 b/src/external/python.m4
index 00487a74..5f48bc92 100644
--- a/src/external/python.m4
+++ b/src/external/python.m4
@@ -19,7 +19,8 @@ dnl versions of python
PYTHON_LIBS="`$PYTHON -c \"from distutils import sysconfig; \
print \\\" \\\".join(sysconfig.get_config_var('LIBS').split() + \
sysconfig.get_config_var('SYSLIBS').split()) + \
- ' -lpython' + sysconfig.get_config_var('VERSION')\"`"
+ ' -lpython' + sysconfig.get_config_var('VERSION') + \
+ ' -L' + sysconfig.get_config_var('LIBDIR')\"`"
AC_MSG_RESULT([yes])
else
AC_MSG_ERROR([no. Please install python devel package])