From 20b772f03af1556fbcf7ac285d6674440609b046 Mon Sep 17 00:00:00 2001 From: ionarevamp Date: Fri, 5 Apr 2024 14:42:25 -0600 Subject: [PATCH] Changed build process --- .cargo/config.toml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index 9d61077..e7952ed 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,11 +1,10 @@ -[target.'cfg(target_arch = "x86")'] - +[target.'cfg(target_env = "gnu")'] rustflags = [ "-C", "linker=gcc", "-L", "/usr/lib", ] -[target.'cfg(target_arch = "x86")'.dependencies.sdl2] +[target.'cfg(target_env = "gnu")'.dependencies.sdl2] git = "https://github.com/rust-sdl2/rust-sdl2" default-features = false features = ["ttf","image","gfx","mixer","static-link","bundled"]