Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions hatch_cpp/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,11 @@

# Perform any cleanup actions
build_plan.cleanup()

# force include libraries
for library in libraries:
if build_plan.platform.platform == "win32":
suffix = "dll"

Check warning on line 87 in hatch_cpp/plugin.py

View check run for this annotation

Codecov / codecov/patch

hatch_cpp/plugin.py#L87

Added line #L87 was not covered by tests
else:
suffix = "so"
build_data["force_include"][f"{library.name}.{suffix}"] = f"{library.name}.{suffix}"
Loading