Author: Philip Jenvey <[email protected]>
Branch:
Changeset: r73478:37dd94f30100
Date: 2014-07-27 14:06 -0700
http://bitbucket.org/pypy/pypy/changeset/37dd94f30100/
Log: hopefully fix translation (tscmp.c:5:10: fatal error: 'tscmp.h' file
not found) (grafted from 871e353f33fc88e4047051410899940eccac5dd2)
diff --git a/pypy/module/operator/tscmp.py b/pypy/module/operator/tscmp.py
--- a/pypy/module/operator/tscmp.py
+++ b/pypy/module/operator/tscmp.py
@@ -12,6 +12,7 @@
cwd = py.path.local(__file__).dirpath()
eci = ExternalCompilationInfo(
includes=[cwd.join('tscmp.h')],
+ include_dirs=[str(cwd)],
separate_module_files=[cwd.join('tscmp.c')],
export_symbols=['pypy_tscmp'])
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit