Skip to content

Commit 86eecec

Browse files
build fixes
1 parent ab38148 commit 86eecec

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

raylib/build.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def pre_process_header(filename):
4646
file = open(filename, "r")
4747
filetext = "".join([line for line in file if '#include' not in line])
4848
command = ['gcc', '-CC', '-P', '-undef', '-nostdinc', '-DRL_MATRIX_TYPE',
49-
#'-DRL_QUATERNION_TYPE','-DRL_VECTOR4_TYPE','-DRL_VECTOR3_TYPE','-DRL_VECTOR2_TYPE'
49+
'-DRL_QUATERNION_TYPE','-DRL_VECTOR4_TYPE','-DRL_VECTOR3_TYPE','-DRL_VECTOR2_TYPE'
5050
'-DRLAPI=', '-DPHYSACDEF=', '-DRAYGUIDEF=',
5151
'-dDI', '-E', '-']
5252
filetext2 = subprocess.run(command, text=True, input=filetext, stdout=subprocess.PIPE).stdout
@@ -108,7 +108,7 @@ def build_unix():
108108
raise Exception("ERROR: " + raylib_h + " not found. Please install Raylib.")
109109

110110
if not os.path.isfile(rlgl_h):
111-
raise Exception("ERROR: " + raylib_h + " not found. Please install Raylib.")
111+
raise Exception("ERROR: " + rlgl_h + " not found. Please install Raylib.")
112112

113113
#if not os.path.isfile(raymath_h):
114114
# raise Exception("ERROR: " + raylib_h + " not found. Please install Raylib.")

raylib/rlgl.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../raylib-c/src/rlgl.h

0 commit comments

Comments
 (0)