99ff37
diff -up sane-backends-1.0.28/ltmain.sh.soname sane-backends-1.0.28/ltmain.sh
99ff37
--- sane-backends-1.0.28/ltmain.sh.soname	2019-09-12 09:57:10.979802716 +0200
99ff37
+++ sane-backends-1.0.28/ltmain.sh	2019-09-12 10:27:21.719895206 +0200
99ff37
@@ -9615,23 +9615,6 @@ EOF
99ff37
 	  dlname=$soname
99ff37
 	fi
99ff37
 
99ff37
-	# If -module or -export-dynamic was specified, set the dlname
99ff37
-	if test "$module" = yes || test "$export_dynamic" = yes; then
99ff37
-	  # On all known operating systems, these are identical.
99ff37
-	  dlname="$soname"
99ff37
-	fi
99ff37
-
99ff37
-	# On sane-backends the internal name for every lib is "libsane"
99ff37
-	# not "libsane-backendname" so that linking to each backend is possible.
99ff37
-	case $host in
99ff37
-	  *mingw*)
99ff37
-	    ;;
99ff37
-	  *aix*)
99ff37
-	    ;;
99ff37
-	  *)
99ff37
-	    soname=`echo $soname | sed -e "s/libsane-[A-Za-z_0-9]*/libsane/g"`
99ff37
-	esac
99ff37
-
99ff37
 	lib=$output_objdir/$realname
99ff37
 	linknames=
99ff37
 	for link