--- libebml-1.4.0.orig/CMakeLists.txt	2019-05-26 12:18:58.498937300 -0400
+++ libebml-1.4.0/CMakeLists.txt	2019-05-26 12:28:04.392012400 -0400
@@ -80,6 +80,11 @@
   CXX_VISIBILITY_PRESET hidden
   VISIBILITY_INLINES_HIDDEN ON
 )
+if(MINGW)
+  set_target_properties(ebml
+    PROPERTIES
+    RUNTIME_OUTPUT_NAME ebml-5)
+endif()
 target_include_directories(ebml
   PRIVATE
     $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}>
