Skip to content

Commit

Permalink
libosdp-sys: Fix build.rs for osdp_diag.c rename
Browse files Browse the repository at this point in the history
Signed-off-by: Siddharth Chandrasekaran <[email protected]>
  • Loading branch information
sidcha committed Nov 12, 2024
1 parent 3684315 commit cf42b85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libosdp-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -158,14 +158,14 @@ fn main() -> Result<()> {
build = build
.define("CONFIG_OSDP_PACKET_TRACE", "1")
.file("vendor/utils/src/pcap_gen.c")
.file("vendor/src/osdp_pcap.c");
.file("vendor/src/osdp_diag.c");
}

if cfg!(feature = "data_trace") {
build = build
.define("CONFIG_OSDP_DATA_TRACE", "1")
.file("vendor/utils/src/pcap_gen.c")
.file("vendor/src/osdp_pcap.c");
.file("vendor/src/osdp_diag.c");
}

let short_enums = build.get_compiler().is_like_gnu() || build.get_compiler().is_like_clang();
Expand Down

0 comments on commit cf42b85

Please sign in to comment.