--- libmatroska-1.5.1.orig/CMakeLists.txt	2019-05-26 12:33:37.374638000 -0400
+++ libmatroska-1.5.1/CMakeLists.txt	2019-05-26 12:35:29.399371900 -0400
@@ -72,6 +72,11 @@
   CXX_VISIBILITY_PRESET hidden
   VISIBILITY_INLINES_HIDDEN ON
 )
+if(MINGW)
+  set_target_properties(matroska
+    PROPERTIES
+    RUNTIME_OUTPUT_NAME matroska-7)
+endif()
 target_include_directories(matroska
   PRIVATE
     $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}>
