mirror of
https://github.com/encounter/rust-sdl2.git
synced 2026-07-10 21:18:41 -07:00
README: fix compile commands
This commit is contained in:
@@ -14,11 +14,12 @@ Installation
|
||||
------------
|
||||
|
||||
```
|
||||
# compile your rust-sdl2 somewhere
|
||||
git clone https://github.com/andelf/rust-sdl2_ttf
|
||||
cd rust-sdl2_ttf
|
||||
rustc src/sdl2_ttf/lib.rs
|
||||
rustc -L. src/sdl2_ttf/lib.rs
|
||||
# OR if you are using the mac framework version
|
||||
rustc --cfg mac_framework src/sdl2_ttf/lib.rs
|
||||
rustc -L. --cfg mac_framework src/sdl2_ttf/lib.rs
|
||||
```
|
||||
|
||||
Demo
|
||||
|
||||
Reference in New Issue
Block a user