]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltconfig.in: For sunos4, add ${libname}.so$versuffix to
authorIan Lance Taylor <ian@cygnus.com>
Mon, 2 Nov 1998 23:05:42 +0000 (23:05 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Mon, 2 Nov 1998 23:05:42 +0000 (23:05 +0000)
library_names_spec.
* ltmain.in: For version_type of sunos, set versuffix even if
-version-info was not used.

ChangeLog
ltconfig.in
ltmain.in

index ed5ff579bcac98c3098d23eba07eb0585aac4133..c08625eca31f6b57511381d581d4d513120f82c6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+1998-11-02  Ian Lance Taylor  <ian@cygnus.com>
+
+       * ltconfig.in: For sunos4, add ${libname}.so$versuffix to
+       library_names_spec.
+       * ltmain.in: For version_type of sunos, set versuffix even if
+       -version-info was not used.
+
 1998-11-02  Alexandre Oliva  <oliva@dcc.unicamp.br>
 
        * ltmain.in (libobj): default value must not contain directory
index 53df332a783db4033711e94f920df85bf4e8e51b..027a56bede1a8d1037b2a62f4ed9cfa6f044e17b 100755 (executable)
@@ -1282,7 +1282,7 @@ solaris2*)
 
 sunos4*)
   version_type=sunos
-  library_names_spec='${libname}${release}.so$versuffix'
+  library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   shlibpath_var=LD_LIBRARY_PATH
   ;;
index fd149e03818eef88c0789760dc586941a0f393c5..e58154a08629c4196a49ea513a51466ec3a7955b 100644 (file)
--- a/ltmain.in
+++ b/ltmain.in
@@ -1093,6 +1093,11 @@ if test -z "$show_help"; then
          major=
          versuffix=
          verstring="0.0"
+         case "$version_type" in
+         sunos)
+           versuffix=".0.0"
+           ;;
+         esac
        fi
 
        # Check to see if the archive will have undefined symbols.