[pypy-svn] r59134 - pypy/branch/cbuild-refactor/pypy/translator/platform

fijal at codespeak.net fijal at codespeak.net
Thu Oct 16 12:19:31 CEST 2008


Author: fijal
Date: Thu Oct 16 12:19:31 2008
New Revision: 59134

Modified:
   pypy/branch/cbuild-refactor/pypy/translator/platform/distutils_platform.py
Log:
we don't need to put . there


Modified: pypy/branch/cbuild-refactor/pypy/translator/platform/distutils_platform.py
==============================================================================
--- pypy/branch/cbuild-refactor/pypy/translator/platform/distutils_platform.py	(original)
+++ pypy/branch/cbuild-refactor/pypy/translator/platform/distutils_platform.py	Thu Oct 16 12:19:31 2008
@@ -12,9 +12,9 @@
 CFLAGS = ['-O3']
 
 if os.name != 'nt':
-    so_ext = '.so'
+    so_ext = 'so'
 else:
-    so_ext = '.dll'
+    so_ext = 'dll'
 
 class DistutilsPlatform(Platform):
     """ This is a generic distutils platform. I hope it'll go away at some
@@ -156,3 +156,9 @@
             extra_preargs=self.link_extra,
             library_dirs=self.eci.library_dirs)
 
+    def include_dirs_for_libffi(self):
+        return ['/usr/include/libffi']
+
+    def library_dirs_for_libffi(self):
+        return ['/usr/lib/libffi']
+



More information about the Pypy-commit mailing list