change mac build to expect raylib installed in /usr/local/lib

This commit is contained in:
electronstudio 2021-10-03 18:54:23 +01:00
parent bb4be12724
commit 5afd9b0ee5
4 changed files with 6 additions and 3 deletions

View file

@ -55,7 +55,7 @@ def build_mac():
"""
#include "../../raylib/raylib.h" // the C header of the library, supplied by us here
""",
extra_link_args=['raylib-c/src/libraylib.a', '-framework', 'OpenGL', '-framework', 'Cocoa', '-framework', 'IOKit', '-framework', 'CoreFoundation', '-framework', 'CoreVideo'],
extra_link_args=['-lraylib', '-framework', 'OpenGL', '-framework', 'Cocoa', '-framework', 'IOKit', '-framework', 'CoreFoundation', '-framework', 'CoreVideo'],
)
if __name__ == "__main__":