mirror of
https://github.com/gnustep/tools-make.git
synced 2025-05-30 17:01:18 +00:00
Better support for building applications and support for shared libraries.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@2507 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
dc6f2558bd
commit
cd198b7c11
10 changed files with 185 additions and 47 deletions
|
@ -35,25 +35,45 @@ if [ -z "$host_os" ]; then
|
|||
host_os=$1
|
||||
fi
|
||||
|
||||
|
||||
case "$host_os" in
|
||||
|
||||
*nextstep4*)
|
||||
ld_lib_path="DYLD_LIBRARY_PATH"
|
||||
DYLD_LIBRARY_PATH="$GNUSTEP_USER_ROOT/$last_path_part:$GNUSTEP_LOCAL_ROOT/$last_path_part:$GNUSTEP_SYSTEM_ROOT/$last_path_part:$DYLD_LIBRARY_PATH"
|
||||
if [ -n "$additional_library_paths" ]; then
|
||||
for dir in "$additional_library_paths"; do
|
||||
additional="${additional}${dir}:"
|
||||
done
|
||||
fi
|
||||
DYLD_LIBRARY_PATH="${additional}${DYLD_LIBRARY_PATH}"
|
||||
export DYLD_LIBRARY_PATH;;
|
||||
|
||||
*solaris*)
|
||||
ld_lib_path="LD_LIBRARY_PATH"
|
||||
LD_LIBRARY_PATH="$GNUSTEP_USER_ROOT/$last_path_part;$GNUSTEP_LOCAL_ROOT/$last_path_part;$GNUSTEP_SYSTEM_ROOT/$last_path_part;$LD_LIBRARY_PATH"
|
||||
if [ -n "$additional_library_paths" ]; then
|
||||
for dir in "$additional_library_paths"; do
|
||||
additional="${additional}${dir};"
|
||||
done
|
||||
fi
|
||||
LD_LIBRARY_PATH="${additional}${LD_LIBRARY_PATH}"
|
||||
export LD_LIBRARY_PATH;;
|
||||
|
||||
*)
|
||||
ld_lib_path="LD_LIBRARY_PATH"
|
||||
LD_LIBRARY_PATH="$GNUSTEP_USER_ROOT/$last_path_part:$GNUSTEP_LOCAL_ROOT/$last_path_part:$GNUSTEP_SYSTEM_ROOT/$last_path_part:$LD_LIBRARY_PATH"
|
||||
if [ -n "$additional_library_paths" ]; then
|
||||
for dir in "$additional_library_paths"; do
|
||||
additional="${additional}${dir}:"
|
||||
done
|
||||
fi
|
||||
LD_LIBRARY_PATH="${additional}${LD_LIBRARY_PATH}"
|
||||
export LD_LIBRARY_PATH;;
|
||||
|
||||
esac
|
||||
|
||||
|
||||
if [ "$export_variable" != yes ]; then
|
||||
echo $ld_lib_path
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue