build mac static 2.5 release
This commit is contained in:
parent
6d0f77936e
commit
6a8d4b24d4
5 changed files with 2 additions and 2 deletions
BIN
libraylib_mac.a
Normal file
BIN
libraylib_mac.a
Normal file
Binary file not shown.
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
/************************************************************/
|
/************************************************************/
|
||||||
|
|
Binary file not shown.
|
@ -14,7 +14,7 @@ ffibuilder.set_source("_raylib_cffi",
|
||||||
)
|
)
|
||||||
|
|
||||||
# Hack to produce static linked lib using static librarylib.a supplied by us
|
# 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__":
|
if __name__ == "__main__":
|
||||||
ffibuilder.compile(verbose=True)
|
ffibuilder.compile(verbose=True)
|
||||||
|
|
Binary file not shown.
Reference in a new issue