Skip to content

Commit 6a8d4b2

Browse files
build mac static 2.5 release
1 parent 6d0f779 commit 6a8d4b2

File tree

5 files changed

+2
-2
lines changed

5 files changed

+2
-2
lines changed

libraylib_mac.a

6.67 MB
Binary file not shown.

raylib/static/_raylib_cffi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ static void (*_cffi_call_python_org)(struct _cffi_externpy_s *, char *);
490490
/************************************************************/
491491

492492

493-
#include "../raylib.h" // the C header of the library
493+
#include "../raylib.h" // the C header of the library, supplied by us here
494494

495495

496496
/************************************************************/
Binary file not shown.

raylib/static/build_mac.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
)
1515

1616
# Hack to produce static linked lib using static librarylib.a supplied by us
17-
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"
17+
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"
1818

1919
if __name__ == "__main__":
2020
ffibuilder.compile(verbose=True)

raylib/static/libraylib.a

-1.27 MB
Binary file not shown.

0 commit comments

Comments
 (0)