build mac static 2.5 release

This commit is contained in:
Richard Smith 2019-06-05 17:09:28 +01:00
parent 6d0f77936e
commit 6a8d4b24d4
5 changed files with 2 additions and 2 deletions

View file

@ -490,7 +490,7 @@ static void (*_cffi_call_python_org)(struct _cffi_externpy_s *, char *);
/************************************************************/
#include "../raylib.h" // the C header of the library
#include "../raylib.h" // the C header of the library, supplied by us here
/************************************************************/

View file

@ -14,7 +14,7 @@ ffibuilder.set_source("_raylib_cffi",
)
# Hack to produce static linked lib using static librarylib.a supplied by us
command = "clang -bundle -undefined dynamic_lookup ./_raylib_cffi.o -L/usr/local/lib -L/usr/local/opt/openssl/lib -L/usr/local/opt/sqlite/lib libraylib.a -F/System/Library/Frameworks -framework OpenGL -framework Cocoa -framework IOKit -framework CoreFoundation -framework CoreVideo -o ./_raylib_cffi.cpython-37m-darwin.so"
command = "clang -bundle -undefined dynamic_lookup ./_raylib_cffi.o -L/usr/local/lib -L/usr/local/opt/openssl/lib -L/usr/local/opt/sqlite/lib ../../libraylib_mac.a -F/System/Library/Frameworks -framework OpenGL -framework Cocoa -framework IOKit -framework CoreFoundation -framework CoreVideo -o ./_raylib_cffi.cpython-37m-darwin.so"
if __name__ == "__main__":
ffibuilder.compile(verbose=True)

Binary file not shown.