Skip to content

Commit

Permalink
(dbg) lost, it should be so trivial
Browse files Browse the repository at this point in the history
  • Loading branch information
MementoRC committed Jan 28, 2024
1 parent 5bd8fdc commit d5ce865
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions setup/setup_build_extension.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ def build_extensions(self):
lib_file, lib_fp = exact_library_name(_l, lib_dir)

if compiler == 'MSVCCompiler':
#if lib_file.endswith('.a'):
# _a = lib_file
# # lib_file = lib_file.replace('.a', '.lib')
# os.rename(os.path.join(lib_dir, _a), os.path.join(lib_dir, lib_file))
# if lib_file.endswith('.a'):
# _a = lib_file
# # lib_file = lib_file.replace('.a', '.lib')
# os.rename(os.path.join(lib_dir, _a), os.path.join(lib_dir, lib_file))
link_args_msvc.append(lib_file.replace('.a', ''))
else:
self.extensions[0].extra_link_args.append(lib_fp)
Expand Down

0 comments on commit d5ce865

Please sign in to comment.