Skip to content

Commit

Permalink
wireshark-dissector: Remove ".dll" from link(name) attribute
Browse files Browse the repository at this point in the history
Fixes #109.
  • Loading branch information
Boris authored and heinrich5991 committed Jan 31, 2025
1 parent 847c796 commit c83cbd5
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 48 deletions.
2 changes: 1 addition & 1 deletion wireshark-dissector/sys/fix.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def annotate_imported_functions(lines, exported_functions):
m = RE_FUNCTION_NAME.match(line)
extern_c.append(line)
if line == "}\n":
result.append("#[cfg_attr(windows, link(name = \"lib{}.dll\", kind = \"raw-dylib\"))]\n".format(library))
result.append("#[cfg_attr(windows, link(name = \"lib{}\", kind = \"raw-dylib\"))]\n".format(library))
result += extern_c
extern_c = []
library = None
Expand Down
Loading

0 comments on commit c83cbd5

Please sign in to comment.