Skip to content

Commit 142eb2e

Browse files
try windows build change
1 parent 11f399b commit 142eb2e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

raylib/build.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,11 @@ def build_windows():
5050
ffibuilder.cdef(open("raylib/raylib_modified.h").read().replace('RLAPI ', '').replace('bool','int'))
5151
ffibuilder.set_source("raylib._raylib_cffi",
5252
"""
53-
#include "../../../raylib/raylib.h"
53+
#include "raylib.h"
5454
""",
5555
extra_link_args=['/NODEFAULTLIB:MSVCRTD'],
5656
libraries=['raylib', 'gdi32', 'shell32', 'user32','OpenGL32', 'winmm'],
57+
include_dirs=['raylib'],
5758
)
5859
if __name__ == "__main__":
5960
ffibuilder.compile(verbose=True)

0 commit comments

Comments
 (0)