# HG changeset patch # User Chris Cannam # Date 1407337345 -3600 # Node ID 6408759460777522101d3310de8e6852a1a1af61 # Parent 3226fe4e1280454e2de12a961b3fa43518834de3 Looks like --retain-symbols-file=.list is the PE equivalent of the ELF version script for our purposes diff -r 3226fe4e1280 -r 640875946077 Makefile.mingw --- a/Makefile.mingw Wed Aug 06 12:45:06 2014 +0100 +++ b/Makefile.mingw Wed Aug 06 16:02:25 2014 +0100 @@ -18,12 +18,12 @@ PLUGIN_EXT = .dll PLUGIN = $(PLUGIN_LIBRARY_NAME)$(PLUGIN_EXT) -LDFLAGS += -shared -fno-exceptions -static-libgcc -Wl,-soname=$(PLUGIN) $(VAMP_SDK_DIR)/libvamp-sdk.a -Wl,--version-script=vamp-plugin.map +LDFLAGS += -shared -static -fno-exceptions -static-libgcc -Wl,-soname=$(PLUGIN) $(VAMP_SDK_DIR)/libvamp-sdk.a -Wl,--retain-symbols-file=vamp-plugin.list $(PLUGIN): $(PLUGIN_CODE_OBJECTS) $(CXX) -o $@ $^ $(LDFLAGS) clean: - del *.o + $(RM) *.o