# HG changeset patch # User Chris Cannam # Date 1407337345 -3600 # Node ID 12ee4e664b35adc714f186ba6fa19699a5dbfcd1 # Parent 490e5d01766c5f94ad7247a6385093ce536545d4 Looks like --retain-symbols-file=.list is the PE equivalent of the ELF version script for our purposes diff -r 490e5d01766c -r 12ee4e664b35 build/Makefile.mingw32 --- a/build/Makefile.mingw32 Tue Aug 05 12:55:55 2014 +0100 +++ b/build/Makefile.mingw32 Wed Aug 06 16:02:25 2014 +0100 @@ -101,7 +101,7 @@ # also want to tell the linker to make all symbols in the library # hidden except for the public entry point (making for a tidier library). # -PLUGIN_LDFLAGS = $(DYNAMIC_LDFLAGS) -Wl,--version-script=build/vamp-plugin.map +PLUGIN_LDFLAGS = $(DYNAMIC_LDFLAGS) -Wl,--retain-symbols-file=build/vamp-plugin.list SDK_DYNAMIC_LDFLAGS = $(DYNAMIC_LDFLAGS) HOSTSDK_DYNAMIC_LDFLAGS = $(DYNAMIC_LDFLAGS)