Skip to content

Commit

Permalink
Merge pull request #39 from influxdata/windows_1.58
Browse files Browse the repository at this point in the history
fix: Flux needs to link to bcrypt on windows on Rust 1.58
  • Loading branch information
Marwes authored Jan 19, 2022
2 parents 996bd61 + c49781b commit c94a594
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/flux/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ Name: Flux
_, _ = fmt.Fprintf(w, "Libs: -L${libdir} -lflux-${buildid} -ldl -lm\n")
}
} else if l.Target.OS == "windows" {
_, _ = fmt.Fprintf(w, "Libs: -L${libdir} -lflux-${buildid} -lws2_32 -luserenv\n")
_, _ = fmt.Fprintf(w, "Libs: -L${libdir} -lflux-${buildid} -lws2_32 -luserenv -lbcrypt\n")
} else {
_, _ = fmt.Fprintf(w, "Libs: -L${libdir} -lflux-${buildid}\n")
}
Expand Down

0 comments on commit c94a594

Please sign in to comment.