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
{{ message }}
This repository was archived by the owner on May 19, 2022. It is now read-only.
Copy file name to clipboardexpand all lines: INSTALL.md
-2
Original file line number
Diff line number
Diff line change
@@ -107,8 +107,6 @@ Here are my standard `./configure` and `make` lines, successfully building on OS
107
107
make
108
108
```
109
109
110
-
**note**: If you *have* the ``sdl2`` kegs installed via [Homebrew](http://brew.sh/), it will fail to build. This is likely an issue we should fix with our Makefiles and all.
111
-
112
110
## Building an OS X App
113
111
114
112
Building a proper application on OS X is fairly easy. Simply make sure you're in the base directory and run this:
@chmod +x $(EB)/sdl2-config # for some reason this isn't happening when
65
65
@ # cross-compiling to MinGW
66
+
@ # We only make a static lib which means things using pkg-config will get it even if they think they're linking to a dynamic lib, breaking their ldflags
67
+
@ # Fix this by replacing `Libs: $libs\nLibs.static $staticonly` with `Libs: $libs $staticonly` in the pc file
68
+
@ # Note: This assumes Libs.private immediately follows Libs if it exists, which seems to be the case in most pc files that have it but isn't actually a requirement.
0 commit comments