diff options
author | Lukas Slebodnik <lslebodn@redhat.com> | 2013-08-31 05:16:58 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-09-09 17:04:36 +0200 |
commit | 09d330c44762ad2857e9d94238dd1905202cf736 (patch) | |
tree | 5deb4bf4ed4faa61faa7f3e5ccb37aac4683aac1 | |
parent | e5697f32aba3987d8e1f23d7e21d1b87ce47a7eb (diff) | |
download | sssd-09d330c44762ad2857e9d94238dd1905202cf736.tar.gz sssd-09d330c44762ad2857e9d94238dd1905202cf736.tar.xz sssd-09d330c44762ad2857e9d94238dd1905202cf736.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.
-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 00487a746..5f48bc926 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]) |