[pypy-commit] pypy default: Patch by Gabriel Lavoie.
arigo
noreply at buildbot.pypy.org
Fri Aug 26 06:06:28 CEST 2011
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r46778:3182c55be0e9
Date: 2011-08-26 06:08 +0200
http://bitbucket.org/pypy/pypy/changeset/3182c55be0e9/
Log: Patch by Gabriel Lavoie.
diff --git a/pypy/module/pyexpat/interp_pyexpat.py b/pypy/module/pyexpat/interp_pyexpat.py
--- a/pypy/module/pyexpat/interp_pyexpat.py
+++ b/pypy/module/pyexpat/interp_pyexpat.py
@@ -9,6 +9,7 @@
from pypy.rpython.tool import rffi_platform
from pypy.translator.tool.cbuild import ExternalCompilationInfo
+from pypy.translator.platform import platform
import sys
import py
@@ -19,7 +20,9 @@
libname = 'expat'
eci = ExternalCompilationInfo(
libraries=[libname],
+ library_dirs=platform.preprocess_library_dirs([]),
includes=['expat.h'],
+ include_dirs=platform.preprocess_include_dirs([]),
)
eci = rffi_platform.configure_external_library(
More information about the pypy-commit
mailing list