mirror of
https://github.com/servo/servo.git
synced 2025-06-13 10:54:29 +00:00
Copy openssl DLLs to unit test directory.
This commit is contained in:
parent
9fb83d8143
commit
d30e51b779
1 changed files with 5 additions and 4 deletions
|
@ -675,11 +675,12 @@ class MachCommands(CommandBase):
|
|||
if not dev and not libsimpleservo:
|
||||
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 and the directory for unit tests.
|
||||
for ssl_lib in ["libssl.dll", "libcrypto.dll"]:
|
||||
shutil.copy(path.join(env['OPENSSL_LIB_DIR'], "../bin", ssl_lib),
|
||||
servo_exe_dir)
|
||||
# Search for the generated nspr4.dll
|
||||
ssl_path = path.join(env['OPENSSL_LIB_DIR'], "../bin", ssl_lib)
|
||||
shutil.copy(ssl_path, servo_exe_dir)
|
||||
shutil.copy(ssl_path, path.join(servo_exe_dir, "deps"))
|
||||
|
||||
build_path = path.join(servo_exe_dir, "build")
|
||||
assert os.path.exists(build_path)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue