darwin link changes

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@15419 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Adam Fedor 2002-12-31 04:16:16 +00:00
parent 59dfbd9066
commit 307a9b3f17
4 changed files with 47 additions and 2 deletions

View file

@ -94,6 +94,17 @@ case "$host_os" in
export DYLD_LIBRARY_PATH
;;
*darwin*)
if [ -z "$DYLD_LIBRARY_PATH" ]; then
DYLD_LIBRARY_PATH="$lib_paths"
else
if ( echo ${DYLD_LIBRARY_PATH}|fgrep -v "${lib_paths}" >/dev/null ); then
DYLD_LIBRARY_PATH="$lib_paths:$DYLD_LIBRARY_PATH"
fi
fi
export DYLD_LIBRARY_PATH
;;
*hpux*)
if [ -z "$SHLIB_PATH" ]; then
SHLIB_PATH="$lib_paths"