From 5fc35c919de73885d3bcaf99f11c04bee55dce7f Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Mon, 14 Oct 2024 19:01:12 +0100 Subject: [PATCH] try --- raylib/build.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/raylib/build.py b/raylib/build.py index d694fef..a34c496 100644 --- a/raylib/build.py +++ b/raylib/build.py @@ -168,9 +168,9 @@ def build_unix(): else: #platform.system() == "Linux": print("BUILDING FOR LINUX") extra_link_args = get_lib_flags() + [ '-lm', '-lpthread', '-lGL', - '-lrt', '-lm', '-ldl', '-lX11', '-lpthread', '-latomic'] + '-lrt', '-lm', '-ldl', '-lX11', '-lpthread', '-latomic', '-lSDL2'] extra_compile_args = ["-Wno-incompatible-pointer-types", "-D_CFFI_NO_LIMITED_API"] - libraries = ['GL', 'm', 'pthread', 'dl', 'rt', 'X11', 'atomic'] + libraries = [] ffibuilder.set_source("raylib._raylib_cffi", ffi_includes,