Skip to content

Commit

Permalink
Copy swig generated files
Browse files Browse the repository at this point in the history
  • Loading branch information
MasloMaslane committed Mar 21, 2024
1 parent d0540fc commit 06c4df2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/sinol_make/commands/run/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -657,6 +657,9 @@ def run_solutions(self, compiled_commands, names, solutions, executables_dir):
for lang, files in self.config.get('extra_execution_files', {}).items():
for file in files:
shutil.copy(os.path.join(os.getcwd(), "prog", file), executables_dir)
# Copy swig generated .so files
for file in glob.glob(os.path.join(os.getcwd(), "prog", f"_{self.ID}lib.so")):
shutil.copy(file, executables_dir)

for (name, executable, result) in compiled_commands:
lang = package_util.get_file_lang(name)
Expand Down

0 comments on commit 06c4df2

Please sign in to comment.