Submitted By:            Randy McMurchy <randy_at_linuxfromscratch_dot_org>
Date:                    2004-10-19
Initial Package Version: 3.7.0
Upstream Status:         Not submitted as libtool will be updated instead
Origin:                  http://www.asmail.be/msg0054539720.html
Description:             Fixes mismatched libtool script so that library
                         files have correct filenames

diff -ur tiff-3.7.0.orig/ltmain.sh tiff-3.7.0/ltmain.sh
--- tiff-3.7.0.orig/ltmain.sh	2004-10-14 19:53:25.000000000 +0200
+++ tiff-3.7.0/ltmain.sh	2004-10-18 14:49:01.000000000 +0200
@@ -2862,7 +2862,7 @@
       case $outputname in
       lib*)
 	name=`$echo "X$outputname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
-	eval shared_ext=\"$shrext\"
+	eval shared_ext=\"$shrext_cmds\"
 	eval libname=\"$libname_spec\"
 	;;
       *)
@@ -2874,7 +2874,7 @@
 	if test "$need_lib_prefix" != no; then
 	  # Add the "lib" prefix for modules if required
 	  name=`$echo "X$outputname" | $Xsed -e 's/\.la$//'`
-	  eval shared_ext=\"$shrext\"
+	  eval shared_ext=\"$shrext_cmds\"
 	  eval libname=\"$libname_spec\"
 	else
 	  libname=`$echo "X$outputname" | $Xsed -e 's/\.la$//'`
@@ -3637,7 +3637,7 @@
 	fi
 
 	# Get the real and link names of the library.
-	eval shared_ext=\"$shrext\"
+	eval shared_ext=\"$shrext_cmds\"
 	eval library_names=\"$library_names_spec\"
 	set dummy $library_names
 	realname="$2"

