summaryrefslogtreecommitdiff
path: root/src/distutils2/command
diff options
context:
space:
mode:
author?ric Araujo <merwok@netwok.org>2010-08-03 17:00:02 +0200
committer?ric Araujo <merwok@netwok.org>2010-08-03 17:00:02 +0200
commit03c58cd95d67e1a4a08a25bdbffb5030b6343df9 (patch)
tree226bff7ce77c5a83452a1c120fb2c50a2168d98e /src/distutils2/command
parentb35a997a7eab83115ead19d7618908c7b91dde5d (diff)
downloaddisutils2-03c58cd95d67e1a4a08a25bdbffb5030b6343df9.tar.gz
Use explicit name instead of literal (Tarek?s preference)
Diffstat (limited to 'src/distutils2/command')
-rw-r--r--src/distutils2/command/build_ext.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/distutils2/command/build_ext.py b/src/distutils2/command/build_ext.py
index 7e160ab..4428b71 100644
--- a/src/distutils2/command/build_ext.py
+++ b/src/distutils2/command/build_ext.py
@@ -292,7 +292,7 @@ class build_ext(Command):
"config"))
else:
# building python standard extensions
- self.library_dirs.append('.')
+ self.library_dirs.append(os.curdir)
# for extensions under Linux or Solaris with a shared Python library,
# Python's library directory must be appended to library_dirs
@@ -305,7 +305,7 @@ class build_ext(Command):
self.library_dirs.append(sysconfig.get_config_var('LIBDIR'))
else:
# building python standard extensions
- self.library_dirs.append('.')
+ self.library_dirs.append(os.curdir)
# The argument parsing will result in self.define being a string, but
# it has to be a list of 2-tuples. All the preprocessor symbols