summaryrefslogtreecommitdiff
path: root/src/dcp.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2026-03-20 16:49:27 +0100
committerCarl Hetherington <cth@carlh.net>2026-03-20 16:49:27 +0100
commitb188b1935e8b9a17d7da287d82d6d4303ad03aef (patch)
tree19f586209a9e65b856b3676dd7eea01d3394e5d6 /src/dcp.cc
parent2acd421782e0963b4560a2e816dac35fd6e89663 (diff)
Allow build with static xmlsec1.
Diffstat (limited to 'src/dcp.cc')
-rw-r--r--src/dcp.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dcp.cc b/src/dcp.cc
index 40690065..049cef12 100644
--- a/src/dcp.cc
+++ b/src/dcp.cc
@@ -69,7 +69,9 @@ LIBDCP_DISABLE_WARNINGS
#include <asdcp/AS_DCP.h>
LIBDCP_ENABLE_WARNINGS
#include <xmlsec/xmldsig.h>
+#ifdef XMLSEC_CRYPTO_DYNAMIC_LOADING
#include <xmlsec/app.h>
+#endif
LIBDCP_DISABLE_WARNINGS
#include <libxml++/libxml++.h>
LIBDCP_ENABLE_WARNINGS