diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-10-16 18:58:19 +0000 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-10-16 18:58:19 +0000 |
commit | 14121854b6ffa1b3460fc3fe43ec9ee0c213b6d5 (patch) | |
tree | d45f75713ca7c14d5002eb0cd27a4c80b03d5398 | |
parent | f80527679b64f9c14c555db6843fac659b1e3aeb (diff) | |
download | cpython-git-14121854b6ffa1b3460fc3fe43ec9ee0c213b6d5.tar.gz |
backport a fix for setup.py's -R
-rw-r--r-- | setup.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -254,6 +254,7 @@ class PyBuildExt(build_ext): # the environment variable is not set even though the value were passed # into configure and stored in the Makefile (issue found on OS X 10.3). for env_var, arg_name, dir_list in ( + ('LDFLAGS', '-R', self.compiler.runtime_library_dirs), ('LDFLAGS', '-L', self.compiler.library_dirs), ('CPPFLAGS', '-I', self.compiler.include_dirs)): env_val = sysconfig.get_config_var(env_var) @@ -792,7 +793,7 @@ class PyBuildExt(build_ext): break else: if sqlite_setup_debug: - print "%s: version %d is too old, need >= %s"%(d, + print "%s: version %r is too old, need >= %r"%(d, sqlite_version, MIN_SQLITE_VERSION) elif sqlite_setup_debug: print "sqlite: %s had no SQLITE_VERSION"%(f,) |