--- artsc/artsdsp.in	25 Jun 2002 01:45:58 -0000	1.1.1.1
+++ artsc/artsdsp.in	11 Mar 2003 06:13:09 -0000	1.3
@@ -96,13 +96,16 @@
 
 if test "$single_thread" = 1; then
   LD_PRELOAD=${libdir}/libartsdsp_st.so.0
+  DYLD_INSERT_LIBRARIES=${libdir}/libartsdsp_st.dylib
 else
   LD_PRELOAD=${libdir}/libartsdsp.so.0:${libdir}/libartsc.so.0
+  DYLD_INSERT_LIBRARIES=${libdir}/libartsdsp.dylib
 fi
 if test -f /lib/libdl.so.2; then
   LD_PRELOAD=$LD_PRELOAD:/lib/libdl.so.2
 fi
 export LD_PRELOAD
+export DYLD_INSERT_LIBRARIES
 
 # invoke the program with the args given
 exec "$@"
