[pypy-commit] pypy default: hopefully fix translation (tscmp.c:5:10: fatal error: 'tscmp.h' file not found)

pjenvey noreply at buildbot.pypy.org
Thu Sep 11 22:48:36 CEST 2014


Author: Philip Jenvey <pjenvey at underboss.org>
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'])
 


More information about the pypy-commit mailing list