uxn

Varvara Ordinator, written in ANSI C(SDL2)
git clone https://git.eamoncaddigan.net/uxn.git
Log | Files | Refs | README | LICENSE

commit bb99a02bf79d08be8d96e7e7dbd5653f22989607
parent 6e96b22e36c4be057c238ba07a4e9ed2867b313f
Author: Remko Tronçon <remko@el-tramo.be>
Date:   Sun, 29 Oct 2023 21:18:22 +0100

(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.

Diffstat:
Mbuild.sh | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build.sh b/build.sh @@ -65,7 +65,7 @@ MSYS_NT*|MINGW*) # MSYS2 on Windows ;; Darwin) # macOS 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|*) UXNEMU_LDFLAGS="-L/usr/local/lib $(sdl2-config --cflags --libs)"