File tree 1 file changed +2
-2
lines changed 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -227,7 +227,7 @@ def finalize_options(self):
227
227
config_dir_name ))
228
228
else :
229
229
# building python standard extensions
230
- self .library_dirs .append (sysconfig .project_base )
230
+ self .library_dirs .append (os . path . relpath ( sysconfig .project_base , os . getcwd ()) )
231
231
232
232
# For building extensions with a shared Python library,
233
233
# Python's library directory must be appended to library_dirs
@@ -238,7 +238,7 @@ def finalize_options(self):
238
238
self .library_dirs .append (sysconfig .get_config_var ('LIBDIR' ))
239
239
else :
240
240
# building python standard extensions
241
- self .library_dirs .append (sysconfig .project_base )
241
+ self .library_dirs .append (os . path . relpath ( sysconfig .project_base , os . getcwd ()) )
242
242
243
243
# The argument parsing will result in self.define being a string, but
244
244
# it has to be a list of 2-tuples. All the preprocessor symbols
You can’t perform that action at this time.
0 commit comments