Commits

Burcin Erocal  committed 4e63946

Fix autoconf macros for python detection.

Reported and fixed by Julien Puydt.

Problem manifests itself here:

http://deiv.vzpla.net/logs/2013/05/29/pynac_0.2.6-1_unstable.log

Fix discussed here:

https://lists.ubuntu.com/archives/ubuntu-devel/2010-March/030430.html

  • Participants
  • Parent commits 2e3cecd

Comments (0)

Files changed (1)

File m4/ax_python_devel.m4

 	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'))"`
+                print (conf('LIBS'))"`
 	fi
 	AC_MSG_RESULT([$PYTHON_EXTRA_LIBS])
 	AC_SUBST(PYTHON_EXTRA_LIBS)