[pypy-commit] pypy default: Call _preprocess_libary_dirs() from here too.
arigo
noreply at buildbot.pypy.org
Sat May 28 09:07:23 CEST 2011
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r44568:e69c2c3e4988
Date: 2011-05-28 09:17 +0200
http://bitbucket.org/pypy/pypy/changeset/e69c2c3e4988/
Log: Call _preprocess_libary_dirs() from here too.
diff --git a/pypy/translator/platform/posix.py b/pypy/translator/platform/posix.py
--- a/pypy/translator/platform/posix.py
+++ b/pypy/translator/platform/posix.py
@@ -130,6 +130,8 @@
rel_includedirs = [pypyrel(incldir) for incldir in
self._preprocess_include_dirs(eci.include_dirs)]
+ rel_libdirs = [pypyrel(libdir) for libdir in
+ self._preprocess_library_dirs(eci.library_dirs)]
m.comment('automatically generated makefile')
definitions = [
@@ -139,7 +141,7 @@
('SOURCES', rel_cfiles),
('OBJECTS', rel_ofiles),
('LIBS', self._libs(eci.libraries)),
- ('LIBDIRS', self._libdirs(eci.library_dirs)),
+ ('LIBDIRS', self._libdirs(rel_libdirs)),
('INCLUDEDIRS', self._includedirs(rel_includedirs)),
('CFLAGS', cflags),
('CFLAGSEXTRA', list(eci.compile_extra)),
More information about the pypy-commit
mailing list