Browse Source

win32: fix sdl2 install path

pull/249/head
nillerusr 2 years ago
parent
commit
3b1b08fd93
  1. 2
      wscript

2
wscript

@ -596,7 +596,7 @@ def build(bld): @@ -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']

Loading…
Cancel
Save