# HG changeset patch # User cannam # Date 1204207282 0 # Node ID 611e039168ade2e85c75811a301860e747477f8f # Parent 1da43924fa143ba841d37a435c9185b9dbc2976a ... diff -r 1da43924fa14 -r 611e039168ad Makefile.osx --- a/Makefile.osx Thu Feb 28 13:41:57 2008 +0000 +++ b/Makefile.osx Thu Feb 28 14:01:22 2008 +0000 @@ -44,7 +44,7 @@ # Compile flags # -CXXFLAGS := $(CXXFLAGS) -O2 -Wall -I. -fPIC +CXXFLAGS := $(CXXFLAGS) -O2 -Wall -I. -fPIC -arch i386 -arch ppc # ar, ranlib # @@ -64,14 +64,14 @@ # Libraries required for the host. # -HOST_LIBS = $(SDKDIR)/libvamp-hostsdk.a -lsndfile -ldl +HOST_LIBS = -arch i386 -arch ppc $(SDKDIR)/libvamp-hostsdk.a -lsndfile -ldl # Flags required to tell the compiler to create a dynamically loadable object # -DYNAMIC_LDFLAGS = -dynamiclib -PLUGIN_LDFLAGS = $(DYNAMIC_LDFLAGS) -SDK_DYNAMIC_LDFLAGS = $(DYNAMIC_LDFLAGS) -HOSTSDK_DYNAMIC_LDFLAGS = $(DYNAMIC_LDFLAGS) +DYNAMIC_LDFLAGS = -dynamiclib -arch i386 -arch ppc +PLUGIN_LDFLAGS = $(DYNAMIC_LDFLAGS) -install_name vamp-example-plugins.dylib +SDK_DYNAMIC_LDFLAGS = $(DYNAMIC_LDFLAGS) -install_name libvamp-sdk.dylib +HOSTSDK_DYNAMIC_LDFLAGS = $(DYNAMIC_LDFLAGS) -install_name libvamp-hostsdk.dylib ### End of user-serviceable parts