--static-libs already uses the static library, so the special handling
does nothing.
Depending on the `brew` executable in the build blocks using the build
script inside a brew formula.
... | ... |
@@ -65,7 +65,7 @@ MSYS_NT*|MINGW*) # MSYS2 on Windows |
65 | 65 |
;; |
66 | 66 |
Darwin) # macOS |
67 | 67 |
CFLAGS="${CFLAGS} -Wno-typedef-redefinition -D_C99_SOURCE" |
68 |
- UXNEMU_LDFLAGS="$(brew --prefix)/lib/libSDL2.a $(sdl2-config --cflags --static-libs | sed -e 's/-lSDL2 //')" |
|
68 |
+ UXNEMU_LDFLAGS="$(sdl2-config --cflags --static-libs)" |
|
69 | 69 |
;; |
70 | 70 |
Linux|*) |
71 | 71 |
UXNEMU_LDFLAGS="-L/usr/local/lib $(sdl2-config --cflags --libs)" |