mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-29 05:29:19 +00:00
fix sdl copy command
This commit is contained in:
+2
-2
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
from gettext import install
|
from gettext import install
|
||||||
from waflib import Utils
|
from waflib import Utils
|
||||||
import os
|
import os, sys
|
||||||
|
|
||||||
top = '.'
|
top = '.'
|
||||||
PROJECT_NAME = 'inputsystem'
|
PROJECT_NAME = 'inputsystem'
|
||||||
@@ -49,7 +49,7 @@ def build(bld):
|
|||||||
# Copy SDL2 dependency
|
# Copy SDL2 dependency
|
||||||
if bld.env.DEST_OS == 'win32':
|
if bld.env.DEST_OS == 'win32':
|
||||||
bld(
|
bld(
|
||||||
rule='cp ${SRC} ${TGT}',
|
rule=(('cp' if 'MSYSTEM' in os.environ or sys.platform != 'win32' else 'copy')+' ${SRC} ${TGT}'),
|
||||||
source='../lib/win32/'+bld.env.DEST_CPU+'/SDL2.dll',
|
source='../lib/win32/'+bld.env.DEST_CPU+'/SDL2.dll',
|
||||||
target='SDL2.dll',
|
target='SDL2.dll',
|
||||||
install_path=install_path,
|
install_path=install_path,
|
||||||
|
|||||||
Reference in New Issue
Block a user