@@ -27,7 +27,7 @@ def build_linux():
27
27
ffibuilder .cdef (open ("raylib/raylib_modified.h" ).read ().replace ('RLAPI ' , '' ))
28
28
ffibuilder .set_source ("raylib._raylib_cffi" ,
29
29
"""
30
- #include "../raylib/raylib.h"
30
+ #include "../../ raylib/raylib.h"
31
31
""" ,
32
32
extra_link_args = ['/usr/local/lib/libraylib.a' ,'-lm' , '-lpthread' , '-lGLU' , '-lGL' , '-lrt' , '-lm' , '-ldl' , '-lX11' , '-lpthread' ],
33
33
libraries = ['GL' ,'m' ,'pthread' , 'dl' , 'rt' , 'X11' ]
@@ -40,7 +40,7 @@ def build_windows():
40
40
ffibuilder .cdef (open ("raylib/raylib_modified.h" ).read ().replace ('RLAPI ' , '' ).replace ('bool' ,'int' ))
41
41
ffibuilder .set_source ("raylib._raylib_cffi" ,
42
42
"""
43
- #include "../../raylib/raylib.h"
43
+ #include "../../../ raylib/raylib.h"
44
44
""" ,
45
45
extra_link_args = ['/NODEFAULTLIB:MSVCRTD' ],
46
46
libraries = ['raylib' , 'gdi32' , 'shell32' , 'user32' ,'OpenGL32' , 'winmm' ],
@@ -53,7 +53,7 @@ def build_mac():
53
53
ffibuilder .cdef (open ("raylib/raylib_modified.h" ).read ().replace ('RLAPI ' , '' ))
54
54
ffibuilder .set_source ("raylib._raylib_cffi" ,
55
55
"""
56
- #include "../raylib/raylib.h" // the C header of the library, supplied by us here
56
+ #include "../../ raylib/raylib.h" // the C header of the library, supplied by us here
57
57
""" ,
58
58
extra_link_args = ['-lraylib' , '-framework' , 'OpenGL' , '-framework' , 'Cocoa' , '-framework' , 'IOKit' , '-framework' , 'CoreFoundation' , '-framework' , 'CoreVideo' ],
59
59
)
@@ -67,7 +67,7 @@ def build_rpi_nox():
67
67
ffibuilder .cdef (open ("raylib/raylib_modified.h" ).read ().replace ('RLAPI ' , '' ))
68
68
ffibuilder .set_source ("raylib._raylib_cffi" ,
69
69
"""
70
- #include "../raylib/raylib.h"
70
+ #include "../../ raylib/raylib.h"
71
71
""" ,
72
72
extra_link_args = ['/usr/local/lib/libraylib.a' ,
73
73
'/opt/vc/lib/libEGL_static.a' , '/opt/vc/lib/libGLESv2_static.a' ,
0 commit comments