diff --git a/build/unix/run-mozilla.sh b/build/unix/run-mozilla.sh index c4555de5f11..9df8c754a12 100755 --- a/build/unix/run-mozilla.sh +++ b/build/unix/run-mozilla.sh @@ -372,7 +372,10 @@ SHLIB_PATH=${MOZ_DIST_BIN}${SHLIB_PATH+":$SHLIB_PATH"} ## Set LIBPATH for AIX LIBPATH=${MOZ_DIST_BIN}${LIBPATH+":$LIBPATH"} # -## Set LIBPATH for BeOS +## Set DYLD_LIBRARY_PATH for Mac OS X (Darwin) +DYLD_LIBRARY_PATH=${MOZ_DIST_BIN}${DYLD_LIBRARY_PATH+":$DYLD_LIBRARY_PATH"} +# +## Set LIBRARY_PATH for BeOS LIBRARY_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/components${LIBRARY_PATH+":$LIBRARY_PATH"} # ## Set ADDON_PATH for BeOS @@ -401,6 +404,7 @@ then if [ -n "$LD_LIBRARY_PATH_64" ]; then echo "LD_LIBRARY_PATH_64=$LD_LIBRARY_PATH_64" fi + echo "DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH" echo " LIBRARY_PATH=$LIBRARY_PATH" echo " SHLIB_PATH=$SHLIB_PATH" echo " LIBPATH=$LIBPATH" @@ -412,7 +416,7 @@ then fi # export MOZILLA_FIVE_HOME LD_LIBRARY_PATH -export SHLIB_PATH LIBPATH LIBRARY_PATH ADDON_PATH +export SHLIB_PATH LIBPATH LIBRARY_PATH ADDON_PATH DYLD_LIBRARY_PATH if [ $moz_debug -eq 1 ] then