You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+21-11Lines changed: 21 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -77,27 +77,37 @@ On Linux, you will need to additionally do one of the following:
77
77
* use the feature `use-pkgconfig` so that rustc knows where to look for your SDL2 libraries and its dependencies for static linking. This is required because there is no built-in way to find the resources needed to link statically SDL2 from your system
78
78
* install development libraries with [vcpkg][vcpkg]. Instructions to generate a static binary on Linux and other operating systems using vcpkg are [here][cargo-vcpkg-usage]
79
79
80
-
### Mac OS X
81
-
#### If you are using homebrew
82
-
On OSX, it's a good idea to install these via
80
+
### macOS
81
+
#### Homebrew
82
+
On macOS, it's a good idea to install these via
83
83
[homebrew][homebrew].
84
84
85
-
> brew install sdl2
85
+
```
86
+
brew install sdl2
87
+
```
86
88
87
-
Then add the following to your `~/.bash_profile` if not already present.
89
+
In recent versions of Homebrew, the installed libraries are usually linked into `$(brew --prefix)/lib`.
90
+
If you are running an older version, the symlink for SDL might reside in `/usr/local/lib`.
0 commit comments