This is probably a better name for the SDL2 library on macOS.
authorRyan C. Gordon <icculus@icculus.org>
Sun, 10 Mar 2019 00:16:12 -0500
changeset 112be327fd46284
parent 111 76364b4bafbb
child 113 ed19faa58a82
This is probably a better name for the SDL2 library on macOS.
src/SDL12_compat.c
     1.1 --- a/src/SDL12_compat.c	Fri Mar 08 21:31:21 2019 -0500
     1.2 +++ b/src/SDL12_compat.c	Sun Mar 10 00:16:12 2019 -0500
     1.3 @@ -768,7 +768,7 @@
     1.4  #elif defined(unix) || defined(__APPLE__)
     1.5      #include <dlfcn.h>
     1.6      #ifdef __APPLE__
     1.7 -    #define SDL20_LIBNAME "libSDL2.dylib"
     1.8 +    #define SDL20_LIBNAME "libSDL2-2.0.0.dylib"
     1.9      #else
    1.10      #define SDL20_LIBNAME "libSDL2-2.0.so.0"
    1.11      #endif