-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Specify the external library we link to on Windows
As of recently it is no longer sufficient to just build the `libX.a` with the cc crate in build.rs. Due to rust-lang/rust#65610 it is also necessary to specify the fact of linkage in the source for it to work in all scenarios. The most frustrating part is that it only fails when shared libraries are in the equation, which is a comparatively rare use-case in Rust-land.
- Loading branch information
Showing
2 changed files
with
6 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters