Skip to content

Commit 6ea1338

Browse files
authored
Update README.md
Small issue with an extra colon
1 parent a02ddf6 commit 6ea1338

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ SDL2 >= 2.0.8 is recommended to use these bindings, but note that SDL2 >= 2.0.5
4444
Since 0.31, this crate supports a feature named "bundled" which compiles SDL2 from source and links it automatically. While this should work for any architecture, you **will** need a C compiler (like `gcc`, `clang`, or MS's own compiler) to use this feature properly.
4545

4646
By default, macOS and Linux only load libraries from system directories like `/usr/lib`. If you wish to distribute the newly built libSDL2.so/libSDL2.dylib alongside your executable, you will need to add rpath to your executable. Add the following lines to `build.rs` script:
47-
:
47+
4848
```rust
4949
[cfg(target_os="macos")]
5050
println!("cargo:rustc-link-arg=-Wl,-rpath,@loader_path");

0 commit comments

Comments
 (0)