diff options
author | Lukas Slebodnik <lslebodn@redhat.com> | 2013-08-31 05:16:58 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-09-09 16:23:52 +0200 |
commit | f705b1d1299b41e2f00722257db09d7b67167902 (patch) | |
tree | 9686bc84906ffbf9e2dac308d5bdb8827450b135 /src | |
parent | 27ea6c34e9d8a914b0aeebe9ca98eb65dea404d0 (diff) | |
download | sssd-f705b1d1299b41e2f00722257db09d7b67167902.tar.gz sssd-f705b1d1299b41e2f00722257db09d7b67167902.tar.bz2 sssd-f705b1d1299b41e2f00722257db09d7b67167902.zip |
AUTOTOOLS: Add -LLIBDIR to PYTHON_LIBS
Detect directory with python libraries and add this
directory to the list of directories to be searched for linker.
Diffstat (limited to 'src')
-rw-r--r-- | src/external/python.m4 | 3 |
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]) |