Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save taybin/462943 to your computer and use it in GitHub Desktop.
Save taybin/462943 to your computer and use it in GitHub Desktop.
diff --git a/Makefile.in b/Makefile.in
index 7ab25ff..34f5f36 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -16,9 +16,9 @@ DYNAMIC_EXTENSION := .so
DYNAMIC_FULL_VERSION := .2.1.0
DYNAMIC_ABI_VERSION := .2
DYNAMIC_LIBNAME := librubberband$(DYNAMIC_EXTENSION)
-DYNAMIC_LDFLAGS := -shared -Wl,-Bsymbolic -Wl,-soname=$(DYNAMIC_LIBNAME)$(DYNAMIC_ABI_VERSION)
-VAMP_LDFLAGS := -shared -Wl,-Bsymbolic -Wl,--version-script=vamp/vamp-plugin.map
-LADSPA_LDFLAGS := -shared -Wl,-Bsymbolic -Wl,--version-script=ladspa/ladspa-plugin.map
+DYNAMIC_LDFLAGS := -dynamiclib -Wl,-dylib_install_name,@prefix@/lib/$(DYNAMIC_LIBNAME)$(DYNAMIC_ABI_VERSION)
+VAMP_LDFLAGS := -dynamiclib
+LADSPA_LDFLAGS := -dynamiclib
PROGRAM_TARGET := bin/rubberband
STATIC_TARGET := lib/librubberband.a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment