From c033db04aca5aac0ddfa7dd3fa54e8eb2c1a41df Mon Sep 17 00:00:00 2001 From: Richard Basch Date: Sat, 30 Mar 1996 00:18:40 +0000 Subject: [PATCH] Added SunOS shared library support git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7739 dc483132-0cff-0310-8789-dd5450dbe970 --- src/util/ChangeLog | 4 ++++ src/util/makeshlib.sh | 15 +++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/src/util/ChangeLog b/src/util/ChangeLog index f89448e47..04416270b 100644 --- a/src/util/ChangeLog +++ b/src/util/ChangeLog @@ -1,3 +1,7 @@ +Fri Mar 29 16:42:24 1996 Richard Basch + + * makeshlib.sh: Added support for SunOS shared libraries. + Sat Feb 24 19:03:53 1996 Theodore Y. Ts'o * makeshlib.sh: Add support for HPUX and Sinix (sys5r4 on mips). diff --git a/src/util/makeshlib.sh b/src/util/makeshlib.sh index 66d3e2150..5b6062278 100644 --- a/src/util/makeshlib.sh +++ b/src/util/makeshlib.sh @@ -80,6 +80,21 @@ mips-sni-sysv4) $CC -G $ldflags -o $library $optflags $FILES $libdirfl $liblist stat=$? ;; +*-*-sunos*) + FILES=`for i + do + sed -e "s;^;$i/shared/;" -e "s; ; $i/shared/;g" $i/DONE + done` + + optflags="" + if test "$HAVE_GCC"x = "x" ; then + optflags="-h $library" + fi + + echo ld -dp -assert pure-text $ldflags -o $library $optflags $FILES $libdirfl + ld -dp -assert pure-text $ldflags -o $library $optflags $FILES $libdirfl + stat=$? + ;; *-*-aix*) FILES=`for i do -- 2.26.2