Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
lazka committed Aug 25, 2023
1 parent 05b95c2 commit 941da4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Lib/distutils/command/build_ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ def finalize_options(self):
config_dir_name))
else:
# building python standard extensions
self.library_dirs.append(sysconfig.project_base)
self.library_dirs.append(os.path.relpath(sysconfig.project_base, os.getcwd()))

# For building extensions with a shared Python library,
# Python's library directory must be appended to library_dirs
Expand All @@ -238,7 +238,7 @@ def finalize_options(self):
self.library_dirs.append(sysconfig.get_config_var('LIBDIR'))
else:
# building python standard extensions
self.library_dirs.append(sysconfig.project_base)
self.library_dirs.append(os.path.relpath(sysconfig.project_base, os.getcwd()))

# 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
Expand Down

0 comments on commit 941da4a

Please sign in to comment.