From 5d8923d69c58e2b34230b76a392fd078cd66a7a5 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Thu, 10 Oct 2024 15:44:32 +0300 Subject: [PATCH] scripts: waifulib: sdl2: fix build on macOS --- scripts/waifulib/sdl2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/waifulib/sdl2.py b/scripts/waifulib/sdl2.py index 541b2fe5..9a9b79bb 100644 --- a/scripts/waifulib/sdl2.py +++ b/scripts/waifulib/sdl2.py @@ -71,7 +71,7 @@ def configure(conf): if conf.options.SDL_PATH: sdl2_configure_path(conf, conf.options.SDL_PATH, libname) elif conf.env.DEST_OS == 'darwin': - sdl2_configure_path(conf, '/Library/Frameworks/%s.framework' % libname) + sdl2_configure_path(conf, '/Library/Frameworks/%s.framework' % libname, libname) else: try: conf.check_cfg(package=libname.lower(), args='--cflags --libs',