for MacOS X, changed -lpython to -framework Python.
authorkramm <kramm>
Thu, 28 Oct 2004 16:31:04 +0000 (16:31 +0000)
committerkramm <kramm>
Thu, 28 Oct 2004 16:31:04 +0000 (16:31 +0000)
m4/python.m4

index 4d675c7..7d2f4de 100644 (file)
@@ -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