From 5e54822056af4478f1e5950fe5b0c60addde9378 Mon Sep 17 00:00:00 2001 From: Matthew Rodusek <7519129+bitwizeshift@users.noreply.github.com> Date: Sun, 10 Dec 2023 18:57:53 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A6=20Update=20dependencies=20required?= =?UTF-8?q?=20for=20`linux`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Builds of `linux` in the `build.rs` were missing the link requirements to X11 libraries. This adds the appropriate links. --- frameworks/glfw-sys/build.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frameworks/glfw-sys/build.rs b/frameworks/glfw-sys/build.rs index 79549d9..5ddd3f4 100644 --- a/frameworks/glfw-sys/build.rs +++ b/frameworks/glfw-sys/build.rs @@ -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"); } }