]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
libtool: split sco version into its own type.
authorTijl Coosemans <tijl@FreeBSD.org>
Fri, 28 Nov 2014 15:51:34 +0000 (15:51 +0000)
committerGary V. Vaughan <gary@gnu.org>
Fri, 28 Nov 2014 16:03:58 +0000 (16:03 +0000)
* m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER): Set version type to
"sco" for sco based hosts.
* build-aux/ltmain.in (func_mode_link): Accept new "sco"
version_type as equivalent to freebsd-elf.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
build-aux/ltmain.in
m4/libtool.m4

index 85e2809d0f8bdb09d21379750a83a5ddb55a1015..714d0abdae12153c1245237fb57b8088724966f8 100644 (file)
@@ -6990,6 +6990,11 @@ func_mode_link ()
          versuffix=.$current
          ;;
 
+       sco)
+         major=.$current
+         versuffix=.$current
+         ;;
+
        sunos)
          major=.$current
          versuffix=.$current.$revision
index 6143541cebe66c2a532cb1478bf3f79ff94c33d9..874cf2454f6619977777dfff3a2841d1c33b8cc6 100644 (file)
@@ -2909,7 +2909,7 @@ sysv4*MP*)
   ;;
 
 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
-  version_type=freebsd-elf
+  version_type=sco
   need_lib_prefix=no
   need_version=no
   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'