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 01a5f2e commit b2b05ca
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
[target.'cfg(target_arch = "x86_64")']

[target.'cfg(target_arch = "x86_64")'.dependencies]
sld2 = ["sdl2"]
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 b2b05ca

Please sign in to comment.