kopia lustrzana https://github.com/Hamlib/Hamlib
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-79ac388436b8Hamlib-1.2.12
rodzic
877a50a3eb
commit
197f5a347c
|
@ -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)
|
||||
|
|
Ładowanie…
Reference in New Issue