Skip to content

Commit

Permalink
🚦 Update dependencies required for linux
Browse files Browse the repository at this point in the history
Builds of `linux` in the `build.rs` were missing the link requirements
to X11 libraries. This adds the appropriate links.
  • Loading branch information
bitwizeshift committed Dec 11, 2023
1 parent c1ed851 commit 5e54822
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frameworks/glfw-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ fn compile_glfw() {
build::rustc_link_lib!("framework=IOKit");
build::rustc_link_lib!("framework=CoreFoundation");
build::rustc_link_lib!("framework=OpenGL");
} else if cfg!(target_os = "linux") {
build::rustc_link_lib!("X11");
}
}

Expand Down

0 comments on commit 5e54822

Please sign in to comment.