Skip to content

Commit

Permalink
fixed macos sdl build for x64
Browse files Browse the repository at this point in the history
  • Loading branch information
objeck committed Jun 12, 2021
1 parent 9c2e42a commit c82d695
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/lib/sdl/build_osx_x64.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#/bin/sh
rm -rf *.o *.dylib
clang++ -D_X64 -D_OSX -shared -Wno-unused-function -Wno-deprecated-declarations -fPIC -c -O3 -Wall -F/Library/Frameworks -I/Library/Frameworks/SDL2.framework/Headers -I/Library/Frameworks/SDL2_ttf.framework/Headers -I/Library/Frameworks/SDL2_mixer.framework/Headers -I/Library/Frameworks/SDL2_image.framework/Headers -I/Library/Frameworks/SDL2_mixer.framework/Headers -I/usr/local/include $1.cpp SDL2_framerate.c SDL2_gfxPrimitives.c SDL2_imageFilter.c SDL2_rotozoom.c
clang++ -D_X64 -D_OSX -dynamiclib -F/Library/Frameworks -framework SDL2 -framework SDL2_ttf -framework SDL2_mixer -framework SDL2_image -L/usr/local/lib -lssl -Wl,-headerpad_max_install_names,-undefined,dynamic_lookup,-compatibility_version,1.0,-current_version,1.0 `sdl2-config --cflags --libs` -o $1.dylib $1.o SDL2_framerate.o SDL2_gfxPrimitives.o SDL2_imageFilter.o SDL2_rotozoom.o -v
clang++ -D_X64 -D_OSX -shared -Wno-unused-function -Wno-deprecated-declarations -fPIC -c -O3 -Wall -F/Library/Frameworks -I/Library/Frameworks/SDL2.framework/Headers -I/Library/Frameworks/SDL2_ttf.framework/Headers -I/Library/Frameworks/SDL2_mixer.framework/Headers -I/Library/Frameworks/SDL2_image.framework/Headers -I/Library/Frameworks/SDL2_mixer.framework/Headers -I./../openssl/macos/include -I/usr/local/include $1.cpp SDL2_framerate.c SDL2_gfxPrimitives.c SDL2_imageFilter.c SDL2_rotozoom.c
clang++ -D_X64 -D_OSX -dynamiclib -F/Library/Frameworks -framework SDL2 -framework SDL2_ttf -framework SDL2_mixer -framework SDL2_image -L./../openssl/macos/x64 -lssl -Wl,-headerpad_max_install_names,-undefined,dynamic_lookup,-compatibility_version,1.0,-current_version,1.0 `sdl2-config --cflags --libs` -o $1.dylib $1.o SDL2_framerate.o SDL2_gfxPrimitives.o SDL2_imageFilter.o SDL2_rotozoom.o -v

0 comments on commit c82d695

Please sign in to comment.