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 e2c4070 commit 01a5f2e
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,20 +1,11 @@
[target.x86_64-unknown-linux-gnu]

[target.'cfg(target_arch = "x86_64")'.dependencies]
sld2 = ["sdl2"]
rustflags = [
"-C", "linker=gcc",
"-L", "/usr/lib",
]

[target.x86_64-unknown-linux-musl]
rustflags = [
"-C", "linker=gcc",
"-L", "/usr/lib",

]

[target.'cfg(target_arch = "x86_64")'.dependencies]
sld2 = ["sdl2"]

[target.'cfg(target_arch = "x86_64")'.dependencies.sdl2]
git = "https://github.com/rust-sdl2/rust-sdl2"
default-features = false
Expand Down

0 comments on commit 01a5f2e

Please sign in to comment.