Fix build --with-python-binding breakage introduced by Python 2.6:

Do not reference LOCALMODLIBS, else it will add libraries to our link line
(e.g -lssl) which are not necessarily installed.



git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2943 7ae35d74-ebe9-4afe-98af-79ac388436b8
Hamlib-1.2.12
Kamal Mostafa, KA6MAL 2010-06-09 20:00:50 +00:00
rodzic 877a50a3eb
commit 197f5a347c
1 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -260,10 +260,12 @@ EOD`
# libraries which must be linked in when embedding
#
AC_MSG_CHECKING(python extra libraries)
# Do not reference LOCALMODLIBS, else it will add libraries to our
# link line (e.g -lssl) which are not necessarily installed.
if test -z "$PYTHON_EXTRA_LIBS"; then
PYTHON_EXTRA_LIBS=`$PYTHON -c "import distutils.sysconfig; \
conf = distutils.sysconfig.get_config_var; \
print (conf('LOCALMODLIBS') + ' ' + conf('LIBS'))"`
conf('LIBS'))"`
fi
AC_MSG_RESULT([$PYTHON_EXTRA_LIBS])
AC_SUBST(PYTHON_EXTRA_LIBS)