Ticket #720: pyffi-python-2.7.diff

File pyffi-python-2.7.diff, 784 bytes (added by Mario Domenech Goulart, 10 years ago)
Line 
1Index: pyffi.setup
2===================================================================
3[0;31m--- pyffi.setup  (revision 25270)[0;0m
4[0;33m+++ pyffi.setup  (working copy)[0;0m
5[1;37m@@ -16,6 +16,7 @@[0;0m
6[0;0m [0;0m
7[0;0m (define cpp+ld-options[0;0m
8[0;0m   (or (python-test ("#include <Python.h>" "-I/System/Library/Frameworks/Python.framework/Headers" "-framework Python"))[0;0m
9[0;33m+      (python-test ("#include <Python.h>" "-I/usr/include/python2.7" "-lpython2.7"))[0;0m
10[0;0m       (python-test ("#include <Python.h>" "-I/usr/include/python2.6" "-lpython2.6"))[0;0m
11[0;0m       (python-test ("#include <Python.h>" "-I/usr/include/python2.5" "-lpython2.5"))[0;0m
12[0;0m       (python-test ("#include <Python.h>" "-I/usr/include/python2.4" "-lpython2.4"))[0;0m