aboutsummaryrefslogtreecommitdiff
path: root/ports/xlnt/static-linking-for-windows.patch
blob: 603286cf9d75a965be06debb73d926b7d9120ee0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/include/xlnt/xlnt.hpp b/include/xlnt/xlnt.hpp
index fdd33c38..0d21128f 100644
--- a/include/xlnt/xlnt.hpp
+++ b/include/xlnt/xlnt.hpp
@@ -23,6 +23,11 @@
 
 #pragma once
 
+// Patched by vcpkg to handle static non-cmake builds
+#ifndef XLNT_STATIC
+#define XLNT_STATIC
+#endif
+
 #include <xlnt/xlnt_config.hpp>
 
 // cell