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"]