--- ffms2-5.0/Makefile.am.orig	2024-06-22 08:52:30.583621500 +0200
+++ ffms2-5.0/Makefile.am	2024-06-22 08:52:50.493819200 +0200
@@ -56,6 +56,7 @@
 
 bin_PROGRAMS = src/index/ffmsindex
 src_index_ffmsindex_SOURCES = src/index/ffmsindex.cpp
+src_index_ffmsindex_LDFLAGS = -municode
 src_index_ffmsindex_LDADD = -lavutil src/core/libffms2.la
 
 .PHONY: test test-build test-clean test-sync test-run
