[Python-checkins] r66914 - python/branches/release25-maint/setup.py

benjamin.peterson python-checkins at python.org
Thu Oct 16 20:58:22 CEST 2008


Author: benjamin.peterson
Date: Thu Oct 16 20:58:19 2008
New Revision: 66914
Log:
backport a fix for setup.py's -R
Modified:
 python/branches/release25-maint/setup.py
Modified: python/branches/release25-maint/setup.py
==============================================================================
--- python/branches/release25-maint/setup.py	(original)
+++ python/branches/release25-maint/setup.py	Thu Oct 16 20:58:19 2008
@@ -254,6 +254,7 @@
 # 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 @@
 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,)


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /