diff options
-rw-r--r-- | src/util/ChangeLog | 6 | ||||
-rw-r--r-- | src/util/makeshlib.sh | 9 |
2 files changed, 13 insertions, 2 deletions
diff --git a/src/util/ChangeLog b/src/util/ChangeLog index 428f56231..1b0dc0dbb 100644 --- a/src/util/ChangeLog +++ b/src/util/ChangeLog @@ -1,3 +1,9 @@ +Mon Oct 2 12:12:20 1995 Ezra Peisach <epeisach@kangaroo.mit.edu> + + * makeshlib.sh: For solaris, if you are not using gcc, add the -h + argument to specify the name of the shared library to + load. (i.e. libfoo.so.0.1). + Mon Sep 25 16:41:11 1995 Theodore Y. Ts'o <tytso@dcl> * Makefile.in: Removed "foo:: foo-$(WHAT)" lines from the diff --git a/src/util/makeshlib.sh b/src/util/makeshlib.sh index 20d3c3c06..4caa55ecc 100644 --- a/src/util/makeshlib.sh +++ b/src/util/makeshlib.sh @@ -31,8 +31,13 @@ case $host in sed -e "s;^;$i/shared/;" -e "s; ; $i/shared/;g" $i/DONE done` - echo $CC -G $ldflags -o $library $FILES $libdirfl $liblist - $CC -G $ldflags -o $library $FILES $libdirfl $liblist + optflags="" + if test "$HAVE_GCC"x = "x" ; then + optflags="-h $library" + fi + + echo $CC -G $ldflags -o $library $optflags $FILES $libdirfl $liblist + $CC -G $ldflags -o $library $optflags $FILES $libdirfl $liblist stat=$? ;; *-*-aix*) |