Skip to content

Commit 16f7278

Browse files
build fix2
1 parent dc51143 commit 16f7278

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

raylib/build.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def build_linux():
2727
ffibuilder.cdef(open("raylib/raylib_modified.h").read().replace('RLAPI ', ''))
2828
ffibuilder.set_source("raylib._raylib_cffi",
2929
"""
30-
#include "../raylib/raylib.h"
30+
#include "../../raylib/raylib.h"
3131
""",
3232
extra_link_args=['/usr/local/lib/libraylib.a','-lm', '-lpthread', '-lGLU', '-lGL', '-lrt', '-lm', '-ldl', '-lX11', '-lpthread'],
3333
libraries=['GL','m','pthread', 'dl', 'rt', 'X11']
@@ -40,7 +40,7 @@ def build_windows():
4040
ffibuilder.cdef(open("raylib/raylib_modified.h").read().replace('RLAPI ', '').replace('bool','int'))
4141
ffibuilder.set_source("raylib._raylib_cffi",
4242
"""
43-
#include "../../raylib/raylib.h"
43+
#include "../../../raylib/raylib.h"
4444
""",
4545
extra_link_args=['/NODEFAULTLIB:MSVCRTD'],
4646
libraries=['raylib', 'gdi32', 'shell32', 'user32','OpenGL32', 'winmm'],
@@ -53,7 +53,7 @@ def build_mac():
5353
ffibuilder.cdef(open("raylib/raylib_modified.h").read().replace('RLAPI ', ''))
5454
ffibuilder.set_source("raylib._raylib_cffi",
5555
"""
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
5757
""",
5858
extra_link_args=['-lraylib', '-framework', 'OpenGL', '-framework', 'Cocoa', '-framework', 'IOKit', '-framework', 'CoreFoundation', '-framework', 'CoreVideo'],
5959
)
@@ -67,7 +67,7 @@ def build_rpi_nox():
6767
ffibuilder.cdef(open("raylib/raylib_modified.h").read().replace('RLAPI ', ''))
6868
ffibuilder.set_source("raylib._raylib_cffi",
6969
"""
70-
#include "../raylib/raylib.h"
70+
#include "../../raylib/raylib.h"
7171
""",
7272
extra_link_args=['/usr/local/lib/libraylib.a',
7373
'/opt/vc/lib/libEGL_static.a', '/opt/vc/lib/libGLESv2_static.a',

0 commit comments

Comments
 (0)