mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Use default console subsystem on Windows for dev builds
This commit is contained in:
parent
a082501173
commit
da8f06b0f9
1 changed files with 5 additions and 3 deletions
|
@ -259,9 +259,11 @@ class MachCommands(CommandBase):
|
||||||
servo_exe_dir)
|
servo_exe_dir)
|
||||||
if "msvc" in (target or host_triple()):
|
if "msvc" in (target or host_triple()):
|
||||||
msvc_x64 = "64" if "x86_64" in (target or host_triple()) else ""
|
msvc_x64 = "64" if "x86_64" in (target or host_triple()) else ""
|
||||||
# on msvc builds, use editbin to change the subsystem to windows
|
# on msvc builds, use editbin to change the subsystem to windows, but only
|
||||||
call(["editbin", "/nologo", "/subsystem:windows", path.join(servo_exe_dir, "servo.exe")],
|
# on release builds -- on debug builds, it hides log output
|
||||||
verbose=verbose)
|
if not dev:
|
||||||
|
call(["editbin", "/nologo", "/subsystem:windows", path.join(servo_exe_dir, "servo.exe")],
|
||||||
|
verbose=verbose)
|
||||||
# on msvc, we need to copy in some DLLs in to the servo.exe dir
|
# on msvc, we need to copy in some DLLs in to the servo.exe dir
|
||||||
for ssl_lib in ["ssleay32md.dll", "libeay32md.dll"]:
|
for ssl_lib in ["ssleay32md.dll", "libeay32md.dll"]:
|
||||||
shutil.copy(path.join(env['OPENSSL_LIB_DIR'], "../bin" + msvc_x64, ssl_lib),
|
shutil.copy(path.join(env['OPENSSL_LIB_DIR'], "../bin" + msvc_x64, ssl_lib),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue