Ticket #47189: libvamp-Makefile-for-osx.diff
File libvamp-Makefile-for-osx.diff, 1.4 KB (added by RJVB (René Bertin), 9 years ago) |
---|
-
lib-src/libvamp/Makefile.in
a b 100 100 101 101 # Flags required to tell the compiler to create a dynamically loadable object 102 102 # 103 DYNAMIC_LDFLAGS = -static-libgcc -shared -Wl,-Bsymbolic104 SDK_DYNAMIC_LDFLAGS = $(DYNAMIC_LDFLAGS) -Wl,-soname=$(INSTALL_SDK_LINK_ABI)105 HOSTSDK_DYNAMIC_LDFLAGS = $(DYNAMIC_LDFLAGS) -Wl,-soname=$(INSTALL_HOSTSDK_LINK_ABI)103 #DYNAMIC_LDFLAGS = -static-libgcc -shared -Wl,-Bsymbolic 104 #SDK_DYNAMIC_LDFLAGS = $(DYNAMIC_LDFLAGS) -Wl,-soname=$(INSTALL_SDK_LINK_ABI) 105 #HOSTSDK_DYNAMIC_LDFLAGS = $(DYNAMIC_LDFLAGS) -Wl,-soname=$(INSTALL_HOSTSDK_LINK_ABI) 106 106 107 107 # Additional flags for making a plugin. This version script tells the 108 108 # GNU linker to make all symbols in the library hidden except for the 109 109 # public entry point. It's not essential, but makes a tidier library. 110 PLUGIN_LDFLAGS = $(DYNAMIC_LDFLAGS) -Wl,--version-script=${srcdir}/build/vamp-plugin.map110 #PLUGIN_LDFLAGS = $(DYNAMIC_LDFLAGS) -Wl,--version-script=${srcdir}/build/vamp-plugin.map 111 111 112 112 113 113 ## For OS/X with g++: 114 #DYNAMIC_LDFLAGS = -dynamiclib115 #PLUGIN_LDFLAGS = $(DYNAMIC_LDFLAGS)116 #SDK_DYNAMIC_LDFLAGS = $(DYNAMIC_LDFLAGS)117 #HOSTSDK_DYNAMIC_LDFLAGS = $(DYNAMIC_LDFLAGS)114 DYNAMIC_LDFLAGS = -dynamiclib 115 PLUGIN_LDFLAGS = $(DYNAMIC_LDFLAGS) 116 SDK_DYNAMIC_LDFLAGS = $(DYNAMIC_LDFLAGS) 117 HOSTSDK_DYNAMIC_LDFLAGS = $(DYNAMIC_LDFLAGS) 118 118 119 119 120 120 ### End of user-serviceable parts