From 9527ce12c567acbfd5474bce0dedecb1969aff49 Mon Sep 17 00:00:00 2001 From: kramm Date: Thu, 28 Oct 2004 16:31:04 +0000 Subject: [PATCH] for MacOS X, changed -lpython to -framework Python. --- m4/python.m4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/m4/python.m4 b/m4/python.m4 index 4d675c7..7d2f4de 100644 --- a/m4/python.m4 +++ b/m4/python.m4 @@ -20,7 +20,8 @@ else if test -f "/Library/Python/2.$v/PIL/_imaging.so" \ -a "/System/Library/Frameworks/Python.framework/Versions/2.$v/include/python2.$v/Python.h";then PY_VERSION=2.$v - PYTHON_LIB="-lpython$PY_VERSION /Library/Python/2.$v/PIL/_imaging.so" + #PYTHON_LIB="-lpython$PY_VERSION /Library/Python/2.$v/PIL/_imaging.so" + PYTHON_LIB="-framework Python /Library/Python/2.$v/PIL/_imaging.so" PYTHON_INCLUDES="-I/System/Library/Frameworks/Python.framework/Versions/2.$v/include/python2.$v/" fi done -- 1.7.10.4