diff build/Makefile.mingw32 @ 372:12ee4e664b35

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 cb6c59627bcc
children 7284eef3c4ef
line wrap: on
line diff
--- 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)