From: Tom Yu Date: Tue, 4 Jul 1995 06:13:59 +0000 (+0000) Subject: * makeshlib.sh: Add support for NetBSD shared libraries X-Git-Tag: krb5-1.0-beta6~1590 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9b7d8b5e0d83f6e64a1f5ae19f14217186e5a679;p=krb5.git * makeshlib.sh: Add support for NetBSD shared libraries git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6226 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/util/ChangeLog b/src/util/ChangeLog index bbd20fea7..356e6832b 100644 --- a/src/util/ChangeLog +++ b/src/util/ChangeLog @@ -1,3 +1,7 @@ +Tue Jul 4 02:11:56 1995 Tom Yu + + * makeshlib.sh: Add support for NetBSD shared libraries. + Sun Jul 2 20:42:45 1995 Sam Hartman * makeshlib.sh (ldflags): Adapt AIX case to work with Gcc. diff --git a/src/util/makeshlib.sh b/src/util/makeshlib.sh index 4bc56bfc1..2152b8c6f 100644 --- a/src/util/makeshlib.sh +++ b/src/util/makeshlib.sh @@ -16,6 +16,15 @@ liblist=$1; shift ldflags=$1; shift case $host in +*-*-netbsd*) + FILES=`for i + do + sed -e "s;^;$i/shared/;" -e "s; ; $i/shared/;g" -e "s;^$i/shared/\$;;" $i/DONE + done` + echo ld -Bshareable $ldflags -o $library $FILES $libdirfl $liblist + ld -Bshareable $ldflags -o $library $FILES $libdirfl $liblist + stat=$? + ;; *-*-solaris*) FILES=`for i do