Author: tholo Date: Mon Sep 25 03:04:19 2006 New Revision: 2827 Modified: freeswitch/branches/tholo/libs/portaudio.build.sh Log: Embed installed name of shared library on Mac OS X -- otherwise code that is linked against it will not find it later on as the relative path during build gets embedded. Modified: freeswitch/branches/tholo/libs/portaudio.build.sh ============================================================================== --- freeswitch/branches/tholo/libs/portaudio.build.sh (original) +++ freeswitch/branches/tholo/libs/portaudio.build.sh Mon Sep 25 03:04:19 2006 @@ -1,3 +1,17 @@ +patch <<__EOF__ +--- configure.orig 2006-09-24 23:56:36.000000000 -0700 ++++ configure 2006-09-24 23:57:32.000000000 -0700 +@@ -1886,7 +1886,7 @@ + OTHER_OBJS="pa_mac_core/pa_mac_core.o"; + LIBS="-framework CoreAudio -lm"; + PADLL="libportaudio.dylib"; +- SHARED_FLAGS="-framework CoreAudio -dynamiclib"; ++ SHARED_FLAGS="-framework CoreAudio -dynamiclib -install_name \\\$(PREFIX)/lib/\\\$(PADLL)"; + ;; + + mingw* ) +__EOF__ + arch=`uname -m` opts=""
participants (1)
-
Freeswitch SVN