win32: fix sdl2 install path
This commit is contained in:
parent
07571e8b48
commit
02d4be6467
1 changed files with 1 additions and 1 deletions
2
wscript
2
wscript
|
@ -596,7 +596,7 @@ def build(bld):
|
||||||
if bld.env.DEST_OS in ['win32', 'android']:
|
if bld.env.DEST_OS in ['win32', 'android']:
|
||||||
sdl_name = 'SDL2.dll' if bld.env.DEST_OS == 'win32' else 'libSDL2.so'
|
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)
|
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':
|
if bld.env.DEST_OS == 'win32':
|
||||||
projects['game'] += ['utils/bzip2']
|
projects['game'] += ['utils/bzip2']
|
||||||
|
|
Loading…
Reference in a new issue