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  
    100100
    101101# Flags required to tell the compiler to create a dynamically loadable object
    102102#
    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)
     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)
    106106
    107107# Additional flags for making a plugin.  This version script tells the
    108108# GNU linker to make all symbols in the library hidden except for the
    109109# public entry point.  It's not essential, but makes a tidier library.
    110 PLUGIN_LDFLAGS          = $(DYNAMIC_LDFLAGS) -Wl,--version-script=${srcdir}/build/vamp-plugin.map
     110#PLUGIN_LDFLAGS         = $(DYNAMIC_LDFLAGS) -Wl,--version-script=${srcdir}/build/vamp-plugin.map
    111111
    112112
    113113## For OS/X with g++:
    114 #DYNAMIC_LDFLAGS                = -dynamiclib
    115 #PLUGIN_LDFLAGS                 = $(DYNAMIC_LDFLAGS)
    116 #SDK_DYNAMIC_LDFLAGS            = $(DYNAMIC_LDFLAGS)
    117 #HOSTSDK_DYNAMIC_LDFLAGS        = $(DYNAMIC_LDFLAGS)
     114DYNAMIC_LDFLAGS         = -dynamiclib
     115PLUGIN_LDFLAGS                  = $(DYNAMIC_LDFLAGS)
     116SDK_DYNAMIC_LDFLAGS             = $(DYNAMIC_LDFLAGS)
     117HOSTSDK_DYNAMIC_LDFLAGS = $(DYNAMIC_LDFLAGS)
    118118
    119119
    120120### End of user-serviceable parts