Skip to content

Commit 3b1b08f

Browse files
committed
win32: fix sdl2 install path
1 parent 1a58465 commit 3b1b08f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wscript

+1-1
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,7 @@ def build(bld):
596596
if bld.env.DEST_OS in ['win32', 'android']:
597597
sdl_name = 'SDL2.dll' if bld.env.DEST_OS == 'win32' else 'libSDL2.so'
598598
sdl_path = os.path.join('lib', bld.env.DEST_OS, bld.env.DEST_CPU, sdl_name)
599-
bld.install_files('${PREFIX}/', [sdl_path])
599+
bld.install_files(bld.env.LIBDIR, [sdl_path])
600600

601601
if bld.env.DEST_OS == 'win32':
602602
projects['game'] += ['utils/bzip2']

0 commit comments

Comments
 (0)