2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-11-22 01:45:19 +01:00

scripts: waifulib: sdl2: fix build on macOS

This commit is contained in:
Alibek Omarov 2024-10-10 15:44:32 +03:00
parent 5db880af57
commit 5d8923d69c

View File

@ -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',