diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2020-03-30 21:30:45 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2020-03-30 21:30:45 +0200 |
commit | ee770c2346eb37e0dcb8b6cf3eaacf3d8efd6bbc (patch) | |
tree | 58f05092be1a17a939e861f8cadcda1b6ca2ecef /ltmain.sh.patch | |
parent | 0da9e21872802cfc6e975b1ebaf9efb9e5934d84 (diff) | |
parent | fef76e17ed4c607ea73b81279f9ef1d7121be900 (diff) |
Merge branch 'release/experimental/1.0.29-1_experimental1'experimental/1.0.29-1_experimental1
Diffstat (limited to 'ltmain.sh.patch')
-rw-r--r-- | ltmain.sh.patch | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/ltmain.sh.patch b/ltmain.sh.patch new file mode 100644 index 0000000..1187e81 --- /dev/null +++ b/ltmain.sh.patch @@ -0,0 +1,44 @@ +Author: Henning Meirer-Geinitz + + Use "libsane" soname for every backend (all systems but AIX and mingw) + +diff --git a/ltmain.sh b/ltmain.sh +--- a/ltmain.sh ++++ b/ltmain.sh +@@ -9708,6 +9708,23 @@ + dlname=$soname + fi + ++ # If -module or -export-dynamic was specified, set the dlname ++ if test "$module" = yes || test "$export_dynamic" = yes; then ++ # On all known operating systems, these are identical. ++ dlname="$soname" ++ fi ++ ++ # On sane-backends the internal name for every lib is "libsane" ++ # not "libsane-backendname" so that linking to each backend is possible. ++ case $host in ++ *mingw*) ++ ;; ++ *aix*) ++ ;; ++ *) ++ soname=`echo $soname | sed -e "s/libsane-[A-Za-z_0-9]*/libsane/g"` ++ esac ++ + lib=$output_objdir/$realname + linknames= + for link +@@ -10166,12 +10183,6 @@ + func_show_eval '(cd "$output_objdir" && $RM "$linkname" && $LN_S "$realname" "$linkname")' 'exit $?' + fi + done +- +- # If -module or -export-dynamic was specified, set the dlname. +- if test yes = "$module" || test yes = "$export_dynamic"; then +- # On all known operating systems, these are identical. +- dlname=$soname +- fi + fi + ;; + |