Windows build fix. v2.15.50
authorCarl Hetherington <cth@carlh.net>
Tue, 7 Apr 2020 15:23:07 +0000 (17:23 +0200)
committerCarl Hetherington <cth@carlh.net>
Tue, 7 Apr 2020 17:53:02 +0000 (19:53 +0200)
platform/windows/wscript

index 77f9bd0ccc7bfafad1dde19851b7849fe010d400..4efe67ca13a624e679b9e7b94100b0a6c970005c 100644 (file)
@@ -153,7 +153,14 @@ File "%static_deps%/bin/libgpg-error-0.dll"
 File "%static_deps%/bin/libpangoft2-1.0-0.dll"
 File "%static_deps%/bin/libx264-155.dll"
 File "%static_deps%/bin/libwebp-7.dll"
-File "%static_deps%/bin/libcrypto-1_1-x64.dll"
+    """, file=f)
+
+    if bits == 32:
+        print('File "%static_deps%/bin/libcrypto-1_1.dll"', file=f)
+    else:
+        print('File "%static_deps%/bin/libcrypto-1_1-x64.dll"', file=f)
+
+    print("""
 File "%static_deps%/bin/libltdl-7.dll"
 File "%static_deps%/bin/libdl.dll"
 File "%cdist_deps%/bin/asdcp-carl.dll"