[pypy-svn] r59056 - pypy/branch/cbuild-refactor/pypy/rpython/module

fijal at codespeak.net fijal at codespeak.net
Mon Oct 13 10:13:53 CEST 2008


Author: fijal
Date: Mon Oct 13 10:13:53 2008
New Revision: 59056

Modified:
   pypy/branch/cbuild-refactor/pypy/rpython/module/ll_strtod.py
Log:
We don't include pypy directory by default. Let's make it explicit


Modified: pypy/branch/cbuild-refactor/pypy/rpython/module/ll_strtod.py
==============================================================================
--- pypy/branch/cbuild-refactor/pypy/rpython/module/ll_strtod.py	(original)
+++ pypy/branch/cbuild-refactor/pypy/rpython/module/ll_strtod.py	Mon Oct 13 10:13:53 2008
@@ -7,10 +7,12 @@
 from pypy.rpython.ootypesystem import ootype
 from pypy.rlib import rposix
 from pypy.translator.tool.cbuild import ExternalCompilationInfo
+from pypy.tool.autopath import pypydir
 
 class CConfig:
     _compilation_info_ = ExternalCompilationInfo(
         includes = ['src/ll_strtod.h'],
+        include_dirs = [str(py.path.local(pypydir).join('translator', 'c'))],
         separate_module_sources = ['#include <src/ll_strtod.h>'],
         export_symbols = ['LL_strtod_formatd', 'LL_strtod_parts_to_float'],
     )



More information about the Pypy-commit mailing list