changeset 15:bc66d4d9c8f2

Looks like --retain-symbols-file=<file>.list is the PE equivalent of the ELF version script for our purposes
author Chris Cannam
date Wed, 06 Aug 2014 16:02:25 +0100
parents 886d1071c282
children a7bd1daac7f3
files Makefile.mingw32
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.mingw32	Thu May 16 17:17:16 2013 +0100
+++ b/Makefile.mingw32	Wed Aug 06 16:02:25 2014 +0100
@@ -8,7 +8,7 @@
 
 CXXFLAGS := -I$(VAMP_SDK_DIR) -Wall 
 PLUGIN_EXT := .dll
-LDFLAGS := -shared -Wl,-soname=$(PLUGIN_LIBRARY_NAME)$(PLUGIN_EXT) $(VAMP_SDK_DIR)/libvamp-sdk.a -Wl,--version-script=vamp-plugin.map
+LDFLAGS := -shared -Wl,-soname=$(PLUGIN_LIBRARY_NAME)$(PLUGIN_EXT) $(VAMP_SDK_DIR)/libvamp-sdk.a -Wl,--retain-symbols-file=vamp-plugin.list
 
 
 PLUGIN_OBJECTS := $(PLUGIN_SOURCES:.cpp=.o)