Skip to content

Commit

Permalink
really fix builds
Browse files Browse the repository at this point in the history
Signed-off-by: Julia DeMille <me@jdemille.com>
  • Loading branch information
judemille committed Feb 28, 2024
1 parent a8954c4 commit 4ba6e9e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ fn handle_platform(crate_path: &Path) {
println!("cargo:rustc-link-lib=framework=XPWidgets");
}
"x86_64-unknown-linux-gnu" => {
if cfg!(feature = "stub-linux") {
#[cfg(feature = "stub-linux")]
{
println!("cargo:rustc-link-arg=--no-allow-shlib-undefined");
let dst = cmake::Config::new("sdk")
.build_target("all")
Expand Down

0 comments on commit 4ba6e9e

Please sign in to comment.