mirror of
https://git.sr.ht/~rabbits/uxn
synced 2024-12-01 18:17:25 +00:00
(build.sh) Remove special handling of SDL2 library on macOS.
--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.
This commit is contained in:
parent
6e96b22e36
commit
bb99a02bf7
1 changed files with 1 additions and 1 deletions
2
build.sh
2
build.sh
|
@ -65,7 +65,7 @@ MSYS_NT*|MINGW*) # MSYS2 on Windows
|
||||||
;;
|
;;
|
||||||
Darwin) # macOS
|
Darwin) # macOS
|
||||||
CFLAGS="${CFLAGS} -Wno-typedef-redefinition -D_C99_SOURCE"
|
CFLAGS="${CFLAGS} -Wno-typedef-redefinition -D_C99_SOURCE"
|
||||||
UXNEMU_LDFLAGS="$(brew --prefix)/lib/libSDL2.a $(sdl2-config --cflags --static-libs | sed -e 's/-lSDL2 //')"
|
UXNEMU_LDFLAGS="$(sdl2-config --cflags --static-libs)"
|
||||||
;;
|
;;
|
||||||
Linux|*)
|
Linux|*)
|
||||||
UXNEMU_LDFLAGS="-L/usr/local/lib $(sdl2-config --cflags --libs)"
|
UXNEMU_LDFLAGS="-L/usr/local/lib $(sdl2-config --cflags --libs)"
|
||||||
|
|
Loading…
Reference in a new issue