Skip to content

Commit ab38148

Browse files
fix windows build
1 parent ef2d563 commit ab38148

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ jobs:
4343
cmake -DINCLUDE_EVERYTHING=on -DSUPPORT_FILEFORMAT_JPG=on -DWITH_PIC=on -DCMAKE_BUILD_TYPE=Release ..
4444
make -j2
4545
sudo make install
46+
sudo cp ../src/extras/* /usr/local/include/
47+
4648
- name: Build raylib-python-cffi
4749
run: |
4850
python -m pip install --upgrade pip
@@ -89,6 +91,7 @@ jobs:
8991
cmake -DINCLUDE_EVERYTHING=on -DSUPPORT_FILEFORMAT_JPG=on -DWITH_PIC=on -DCMAKE_BUILD_TYPE=Release ..
9092
make -j2
9193
sudo make install
94+
sudo cp ../src/extras/* /usr/local/include/
9295
- name: Build raylib-python-cffi
9396
run: |
9497
python -m pip install --upgrade pip

raylib/build.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ def build_windows():
175175
ffibuilder.cdef(open("raylib/physac.h.modified").read())
176176
ffibuilder.set_source("raylib._raylib_cffi", """
177177
#include "raylib.h"
178+
#include "rlgl.h"
178179
#define RAYGUI_IMPLEMENTATION
179180
#define RAYGUI_SUPPORT_RICONS
180181
#include "raygui.h"

0 commit comments

Comments
 (0)