Skip to content

Commit

Permalink
Changed build process
Browse files Browse the repository at this point in the history
  • Loading branch information
ionarevamp committed Apr 5, 2024
1 parent f9287c4 commit 20b772f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -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"]
Expand Down

0 comments on commit 20b772f

Please sign in to comment.