Author: Armin Rigo <[email protected]>
Branch:
Changeset: r1677:ba891f2e5892
Date: 2015-03-22 18:16 +0100
http://bitbucket.org/cffi/cffi/changeset/ba891f2e5892/
Log: Merged in bencord0/cffi/bencord0/also-look-for-ffih-under-
usrlocalinclude-1426863787737 (pull request #57)
Also look for ffi.h under /usr/local/include
diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -109,6 +109,9 @@
use_pkg_config()
ask_supports_thread()
+if 'freebsd' in sys.platform:
+ include_dirs.append('/usr/local/include')
+
if __name__ == '__main__':
from setuptools import setup, Extension
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit