--- a/Makefile.am
+++ b/Makefile.am
@@ -55,6 +55,7 @@
 
 bin_PROGRAMS = src/index/ffmsindex
 src_index_ffmsindex_SOURCES = src/index/ffmsindex.cpp
+src_index_ffmsindex_LDFLAGS = -municode
 src_index_ffmsindex_LDADD = src/core/libffms2.la
 
 .PHONY: test test-build test-clean test-sync test-run
