mirror of
https://github.com/celisej567/source-engine.git
synced 2026-01-05 22:09:59 +03:00
wscript(android,windows): add sdl2 to installation path
This commit is contained in:
@@ -43,17 +43,8 @@ def build(bld):
|
||||
|
||||
if bld.env.DEST_OS == 'win32':
|
||||
libs += ['USER32']
|
||||
|
||||
install_path = bld.env.LIBDIR
|
||||
|
||||
# Copy SDL2 dependency
|
||||
if bld.env.DEST_OS == 'win32':
|
||||
bld(
|
||||
rule=(('cp' if 'MSYSTEM' in os.environ or sys.platform != 'win32' else 'copy')+' ${SRC} ${TGT}'),
|
||||
source='../lib/win32/'+bld.env.DEST_CPU+'/SDL2.dll',
|
||||
target='SDL2.dll',
|
||||
install_path=install_path,
|
||||
)
|
||||
install_path = bld.env.LIBDIR
|
||||
|
||||
bld.shlib(
|
||||
source = source,
|
||||
|
||||
Reference in New Issue
Block a user