diff options
| author | Skip Montanaro <skip@pobox.com> | 2008-10-07 02:51:48 +0000 |
|---|---|---|
| committer | Skip Montanaro <skip@pobox.com> | 2008-10-07 02:51:48 +0000 |
| commit | cf6cb6885ef47e54615e620acdba22c83e63c97e (patch) | |
| tree | 79db7f75be554ca12deedad117937af55f10b2bf /setup.py | |
| parent | 735f9b940efa8ce1d80999aff9889373f3fb886a (diff) | |
| download | cpython-cf6cb6885ef47e54615e620acdba22c83e63c97e.tar.gz | |
merge from trunk
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -319,12 +319,13 @@ 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) if env_val: # To prevent optparse from raising an exception about any - # options in env_val that is doesn't know about we strip out + # options in env_val that it doesn't know about we strip out # all double dashes and any dashes followed by a character # that is not for the option we are dealing with. # |
