win32: fix sdl2 install path

This commit is contained in:
nillerusr 2023-05-05 19:14:50 +03:00
parent 1a584655d9
commit 3b1b08fd93

View File

@ -596,7 +596,7 @@ def build(bld):
if bld.env.DEST_OS in ['win32', 'android']:
sdl_name = 'SDL2.dll' if bld.env.DEST_OS == 'win32' else 'libSDL2.so'
sdl_path = os.path.join('lib', bld.env.DEST_OS, bld.env.DEST_CPU, sdl_name)
bld.install_files('${PREFIX}/', [sdl_path])
bld.install_files(bld.env.LIBDIR, [sdl_path])
if bld.env.DEST_OS == 'win32':
projects['game'] += ['utils/bzip2']