diff options
author | Fox Caminiti <fox@foxcam.net> | 2022-12-18 20:00:47 -0500 |
---|---|---|
committer | Fox Caminiti <fox@foxcam.net> | 2022-12-18 20:00:47 -0500 |
commit | 4854647d659f75ac6cf4575b61d1dcfd25865791 (patch) | |
tree | 3296bdfa30fa76688844755b37094753ea82d033 /build.sh | |
parent | bedd6906eabdd513042d6a178d4dc56a3a41d1d3 (diff) |
lazy
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -106,13 +106,12 @@ clang src/main.cpp $WARNING_FLAGS $OPTIMIZATION $ADDITIONAL_FLAGS -o bin/real2d $SDL_ARGS \ $OPTIONAL_FLAGS \ -I . \ - -lm -I /usr/local/include $(pkg-config --cflags --libs $FFMPEG_LIBS) + -lm $(pkg-config --cflags --libs $FFMPEG_LIBS) if [[ "$OSTYPE" =~ ^darwin ]]; then -mv bin/real2d_"$ARCHNAME"_"$OSNAME" lib/mac_app_template/Contents/MacOS/real mkdir bin/real_"$ARCHNAME".app -cp -r lib/mac_app_template/Contents bin/real_"$ARCHNAME".app +cp -r misc/mac_app_template/Contents bin/real_"$ARCHNAME".app +cp bin/real2d_"$ARCHNAME"_"$OSNAME" bin/real_"$ARCHNAME".app/Contents/MacOS/real xattr -cr bin/real_"$ARCHNAME".app dylibbundler -od -b -x bin/real_"$ARCHNAME".app/Contents/MacOS/real -d bin/real_"$ARCHNAME".app/Contents/libs -rm lib/mac_app_template/Contents/MacOS/real fi |