Apache OpenOffice (AOO) Bugzilla – Attachment #2951: Supercedes previous patch and adds setting of DYLD_LIBRARY_PATH to script for issue #7847
case $sd_platform in
SCO_SV) test=/bin/test ;;
FreeBSD) test=/bin/test ;;
Darwin) test=/bin/test ;;
*) test=/usr/bin/test ;;
esac
export LD_LIBRARY_PATH
;;
Darwin)
DYLD_LIBRARY_PATH="$sd_progsub":"$sd_prog":$DYLD_LIBRARY_PATH
export DYLD_LIBRARY_PATH
*)
LD_LIBRARY_PATH="$sd_progsub":"$sd_prog":$LD_LIBRARY_PATH