diff options
author | Cy Schubert <cy@FreeBSD.org> | 2020-08-21 22:56:05 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2020-08-21 22:56:05 +0000 |
commit | 7973006f41cdaf144441d1a39f9f075053435e2f (patch) | |
tree | 157d55b04796bb6f041656c0e84dd5106f4bc4be /acx_python.m4 | |
parent | 6a53c00e64c4cf911eb00846733d9e6a47b2e7f4 (diff) |
Diffstat (limited to 'acx_python.m4')
-rw-r--r-- | acx_python.m4 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/acx_python.m4 b/acx_python.m4 index 2940971f1a4e5..a84daa0358840 100644 --- a/acx_python.m4 +++ b/acx_python.m4 @@ -58,6 +58,11 @@ $ac_distutils_result]) AC_MSG_RESULT([$PYTHON_LDFLAGS]) AC_SUBST([PYTHON_LDFLAGS]) + if test -z "$PYTHON_LIBDIR"; then + PYTHON_LIBDIR=`$PYTHON -c "from distutils.sysconfig import *; \ + print(get_config_var('LIBDIR'));"` + fi + # # Check for site packages # |