Created
July 3, 2010 19:56
-
-
Save taybin/462794 to your computer and use it in GitHub Desktop.
fix building vamp-plugin-sdk on osx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Makefile.in b/Makefile.in | |
index 5acc5f0..3605557 100644 | |
--- a/Makefile.in | |
+++ b/Makefile.in | |
@@ -104,8 +104,8 @@ PLUGIN_LDFLAGS = $(DYNAMIC_LDFLAGS) -Wl,--version-script=build/vamp-plugin.map | |
## For OS/X with g++: | |
DYNAMIC_LDFLAGS = -dynamiclib | |
PLUGIN_LDFLAGS = $(DYNAMIC_LDFLAGS) | |
-SDK_DYNAMIC_LDFLAGS = $(DYNAMIC_LDFLAGS) | |
-HOSTSDK_DYNAMIC_LDFLAGS = $(DYNAMIC_LDFLAGS) | |
+SDK_DYNAMIC_LDFLAGS = $(DYNAMIC_LDFLAGS) -Wl,-dylib_install_name,$(INSTALL_SDK_LIBS)/$(INSTALL_SDK_LINK_ABI) | |
+HOSTSDK_DYNAMIC_LDFLAGS = $(DYNAMIC_LDFLAGS) -Wl,-dylib_install_name,$(INSTALL_SDK_LIBS)/$(INSTALL_HOSTSDK_LINK_ABI) | |
### End of user-serviceable parts |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Makefile.in b/Makefile.in | |
index 0f218f5..5acc5f0 100644 | |
--- a/Makefile.in | |
+++ b/Makefile.in | |
@@ -102,10 +102,10 @@ PLUGIN_LDFLAGS = $(DYNAMIC_LDFLAGS) -Wl,--version-script=build/vamp-plugin.map | |
## For OS/X with g++: | |
-#DYNAMIC_LDFLAGS = -dynamiclib | |
-#PLUGIN_LDFLAGS = $(DYNAMIC_LDFLAGS) | |
-#SDK_DYNAMIC_LDFLAGS = $(DYNAMIC_LDFLAGS) | |
-#HOSTSDK_DYNAMIC_LDFLAGS = $(DYNAMIC_LDFLAGS) | |
+DYNAMIC_LDFLAGS = -dynamiclib | |
+PLUGIN_LDFLAGS = $(DYNAMIC_LDFLAGS) | |
+SDK_DYNAMIC_LDFLAGS = $(DYNAMIC_LDFLAGS) | |
+HOSTSDK_DYNAMIC_LDFLAGS = $(DYNAMIC_LDFLAGS) | |
### End of user-serviceable parts |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment