aboutsummaryrefslogtreecommitdiff
path: root/acx_python.m4
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2016-09-27 21:11:07 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2016-09-27 21:11:07 +0000
commit27c2fff0f2fef695b0599fc3931cacfc16376e88 (patch)
treeb2599c622858ea78bd8237ce2ee38b62725dabf9 /acx_python.m4
parenta6533d88996e7570cf04db0d99b6012d25a953d3 (diff)
downloadsrc-27c2fff0f2fef695b0599fc3931cacfc16376e88.tar.gz
src-27c2fff0f2fef695b0599fc3931cacfc16376e88.zip
Notes
Diffstat (limited to 'acx_python.m4')
-rw-r--r--acx_python.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/acx_python.m4 b/acx_python.m4
index 254ff2096280..4e83d7764bcd 100644
--- a/acx_python.m4
+++ b/acx_python.m4
@@ -54,7 +54,7 @@ $ac_distutils_result])
AC_MSG_CHECKING([for Python library path])
if test -z "$PYTHON_LDFLAGS"; then
PYTHON_LDFLAGS=`$PYTHON -c "from distutils.sysconfig import *; \
- print(get_config_var('BLDLIBRARY'));"`
+ print('-L'+get_config_var('LIBDIR')+' -L'+get_config_var('LIBDEST')+' '+get_config_var('BLDLIBRARY'));"`
fi
AC_MSG_RESULT([$PYTHON_LDFLAGS])
AC_SUBST([PYTHON_LDFLAGS])