From 197f5a347c8d7ff7d0158c467409c8fcddc63c1c Mon Sep 17 00:00:00 2001 From: "Kamal Mostafa, KA6MAL" Date: Wed, 9 Jun 2010 20:00:50 +0000 Subject: [PATCH] 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 --- macros/ac_python_devel.m4 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/macros/ac_python_devel.m4 b/macros/ac_python_devel.m4 index 518345093..e8f40b272 100644 --- a/macros/ac_python_devel.m4 +++ b/macros/ac_python_devel.m4 @@ -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)