From e084562e1db364f66ecd83b59277d0b9c9149d7c Mon Sep 17 00:00:00 2001 From: "Graham.Dumpleton" Date: Fri, 22 May 2009 04:25:36 +0000 Subject: Only use -L/-l on MacOS X if Python 2.6 or later. --- configure.ac | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index ab56f44..9c4ffab 100644 --- a/configure.ac +++ b/configure.ac @@ -102,7 +102,10 @@ if test "${PYTHONFRAMEWORKDIR}" = "no-framework"; then from distutils import sysconfig; \ stdout.write(sysconfig.get_config_var("SYSLIBS"))'` else - if test -f "${PYTHONCFGDIR}/libpython${PYTHON_VERSION}.a"; then + if test "${PYTHON_VERSION}" != "2.3" && \ + test "${PYTHON_VERSION}" != "2.4" && \ + test "${PYTHON_VERSION}" != "2.5" && \ + test -f "${PYTHONCFGDIR}/libpython${PYTHON_VERSION}.a"; then LDFLAGS2="-L${PYTHONCFGDIR}" LDLIBS1="-lpython${PYTHON_VERSION}" -- cgit v1.2.1