Ticket #56097: libvamp-Makefile-for-osx.diff

File libvamp-Makefile-for-osx.diff, 1.6 KB (added by RJVB (René Bertin), 7 years ago)
  • lib-src/libvamp/Makefile.in

    diff --git a/lib-src/libvamp/Makefile.in b/lib-src/libvamp/Makefile.in
    index 4fc9378b57c70675c0f0243b2598342c4414ccf9..a56a05346e595d73d7189d4b7bcfe89e93bfb1bb 100644
    a b INSTALL_PKGCONFIG = $(INSTALL_PREFIX)/lib/pkgconfig 
    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
     119LDFLAGS                 += @LDFLAGS@
    119120
    120121### End of user-serviceable parts
    121122