[pypy-commit] pypy py3.3: hopefully fix translation (tscmp.c:5:10: fatal error: 'tscmp.h' file not found)
pjenvey
noreply at buildbot.pypy.org
Sun Jul 27 23:07:26 CEST 2014
Author: Philip Jenvey <pjenvey at underboss.org>
Branch: py3.3
Changeset: r72580:871e353f33fc
Date: 2014-07-27 14:06 -0700
http://bitbucket.org/pypy/pypy/changeset/871e353f33fc/
Log: hopefully fix translation (tscmp.c:5:10: fatal error: 'tscmp.h' file
not found)
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