allow building without glfw headers
This commit is contained in:
parent
43630d8b5a
commit
d6d0b50e80
1 changed files with 3 additions and 1 deletions
|
@ -147,7 +147,6 @@ def build_unix():
|
|||
"""
|
||||
|
||||
ffibuilder.cdef(pre_process_header(raylib_h))
|
||||
ffibuilder.cdef(pre_process_header(glfw3_h))
|
||||
ffibuilder.cdef(pre_process_header(rlgl_h))
|
||||
ffibuilder.cdef(pre_process_header(raymath_h, True))
|
||||
|
||||
|
@ -155,6 +154,9 @@ def build_unix():
|
|||
ffibuilder.cdef(pre_process_header(raygui_h))
|
||||
if os.path.isfile(physac_h):
|
||||
ffibuilder.cdef(pre_process_header(physac_h))
|
||||
if os.path.isfile(glfw3_h):
|
||||
ffibuilder.cdef(pre_process_header(glfw3_h))
|
||||
|
||||
|
||||
if platform.system() == "Darwin":
|
||||
print("BUILDING FOR MAC")
|
||||
|
|
Reference in a new issue