Permalink
Browse files

Find header files on Mac OS X

  • Loading branch information...
gschjetne committed Jun 29, 2016
1 parent 7b8cc91 commit 8ae3815a52fde36e68e54322cd7da2c42ec09f5c
Showing with 2 additions and 1 deletion.
  1. +2 −1 grovel-include-dir.lisp
View
@@ -17,7 +17,8 @@
:when (cl-fad:directory-exists-p path) :return it))
(defparameter *cpython-include-dir*
(or (loop :for minor :from 7 :downto 4
(or #+os-macosx (cl-fad:directory-exists-p "/Library/Frameworks/Python.framework/Headers")
(loop :for minor :from 7 :downto 4
:when (or (cl-fad:directory-exists-p (format nil "/usr/include/python2.~d" minor))
(cl-fad:directory-exists-p (format nil "/usr/local/include/python2.~d" minor)))
:return it)

0 comments on commit 8ae3815

Please sign in to comment.