aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/abseil/001-mingw-dll.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/abseil/001-mingw-dll.patch')
-rw-r--r--vcpkg/ports/abseil/001-mingw-dll.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/abseil/001-mingw-dll.patch b/vcpkg/ports/abseil/001-mingw-dll.patch
new file mode 100644
index 0000000..ae1b60c
--- /dev/null
+++ b/vcpkg/ports/abseil/001-mingw-dll.patch
@@ -0,0 +1,13 @@
+diff --git a/CMake/AbseilDll.cmake b/CMake/AbseilDll.cmake
+--- a/CMake/AbseilDll.cmake
++++ b/CMake/AbseilDll.cmake
+@@ -839,6 +839,9 @@ function(absl_make_dll)
+ ${_dll_libs}
+ ${ABSL_DEFAULT_LINKOPTS}
+ $<$<BOOL:${ANDROID}>:-llog>
++ $<$<BOOL:${MINGW}>:-ladvapi32>
++ $<$<BOOL:${MINGW}>:-ldbghelp>
++ $<$<BOOL:${MINGW}>:-lbcrypt>
+ )
+ set_target_properties(${_dll} PROPERTIES
+ LINKER_LANGUAGE "CXX"