From daafd355f35fe3a5c7ec4ea5317075cb22978034 Mon Sep 17 00:00:00 2001 From: Andelf Date: Tue, 1 Apr 2014 20:44:16 +0800 Subject: [PATCH] README: fix compile commands --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index be945c34..0eb23678 100644 --- a/README.md +++ b/README.md @@ -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