aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/freerdp/windows-linkage.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/freerdp/windows-linkage.patch')
-rw-r--r--vcpkg/ports/freerdp/windows-linkage.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/vcpkg/ports/freerdp/windows-linkage.patch b/vcpkg/ports/freerdp/windows-linkage.patch
new file mode 100644
index 0000000..84e27da
--- /dev/null
+++ b/vcpkg/ports/freerdp/windows-linkage.patch
@@ -0,0 +1,14 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index db346d3..6ad72d3 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -260,6 +260,9 @@ if(WIN32)
+ endif()
+
+ add_compile_definitions(FREERDP_EXPORTS)
++if(NOT BUILD_SHARED_LIBS)
++ add_compile_definitions(RDTK_EXPORTS)
++endif()
+
+ # Mac OS X
+ if(APPLE)