sane-backends-1.0.23-soname.patch 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. From 031cd8dd376ed6537afd06ca5aec5e67f5da0489 Mon Sep 17 00:00:00 2001
  2. From: Nils Philippsen <nils@redhat.com>
  3. Date: Fri, 31 Aug 2012 16:14:49 +0200
  4. Subject: [PATCH] patch: soname
  5. Squashed commit of the following:
  6. commit 2035ced803168210a70c4946814440764e5d0186
  7. Author: Nils Philippsen <nils@redhat.com>
  8. Date: Fri Aug 31 16:13:51 2012 +0200
  9. don't use the same SONAME for backend libs and main lib
  10. ---
  11. ltmain.sh | 19 -------------------
  12. 1 file changed, 19 deletions(-)
  13. diff --git a/ltmain.sh b/ltmain.sh
  14. index f3eb4c8..17d1508 100755
  15. --- a/ltmain.sh
  16. +++ b/ltmain.sh
  17. @@ -8101,25 +8101,6 @@ EOF
  18. dlname=$soname
  19. fi
  20. - # Local change for sane-backends: internal name for every lib
  21. - # is "libsane" not "libsane-backendname". So linking to each
  22. - # backend is possible. Also the following test was moved to this
  23. - # location.
  24. - # If -module or -export-dynamic was specified, set the dlname
  25. - if test "$module" = yes || test "$export_dynamic" = yes; then
  26. - # On all known operating systems, these are identical.
  27. - dlname="$soname"
  28. - fi
  29. - case $host in
  30. - *mingw*)
  31. - ;;
  32. - *aix*)
  33. - ;;
  34. - *)
  35. - soname=`echo $soname | sed -e "s/libsane-[A-Za-z_0-9]*/libsane/g"`
  36. - esac
  37. - # End of local change
  38. -
  39. lib="$output_objdir/$realname"
  40. linknames=
  41. for link
  42. --
  43. 1.7.11.4