projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67860ad
)
Fix Windows build.
author
Carl Hetherington
<cth@carlh.net>
Mon, 23 Dec 2024 09:51:53 +0000
(10:51 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Mon, 23 Dec 2024 09:51:53 +0000
(10:51 +0100)
src/lib/util.cc
patch
|
blob
|
history
diff --git
a/src/lib/util.cc
b/src/lib/util.cc
index f75f943f995408fa5d981b47f5d8dc93d58e829c..a515437a48b912aadbb479dc17c91209e7887a93 100644
(file)
--- a/
src/lib/util.cc
+++ b/
src/lib/util.cc
@@
-483,7
+483,11
@@
LIBDCP_ENABLE_WARNINGS
render_text (subs, dcp::Size(640, 480), DCPTime(), 24);
#endif
+#ifdef DCPOMATIC_WINDOWS
+ putenv("OPENSSL_ENABLE_SHA1_SIGNATURES=1");
+#else
setenv("OPENSSL_ENABLE_SHA1_SIGNATURES", "1", 1);
+#endif
Ratio::setup_ratios ();
PresetColourConversion::setup_colour_conversion_presets ();