Skip to content

Commit

Permalink
(dbg) try to figure out where the disconnect is
Browse files Browse the repository at this point in the history
  • Loading branch information
MementoRC committed Jan 30, 2024
1 parent d5ce865 commit f4296d8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion setup/setup_build_extension.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ def build_extensions(self):
# _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', ''))
# self.spwan(['lib', '/DEF:' + lib_fp, '/OUT:' + lib_file.replace('.a', '.lib')])
self.spwan(['ar', '-t', os.path.join(lib_dir, lib_file)])
link_args_msvc.append(lib_file.replace('.a', '.lib'))
else:
self.extensions[0].extra_link_args.append(lib_fp)

Expand Down

0 comments on commit f4296d8

Please sign in to comment.