From 9be85b171b443615444e1ba4ab08c42b7841dd63 Mon Sep 17 00:00:00 2001 From: Chris Bagwell Date: Mon, 7 Nov 2011 19:23:42 -0600 Subject: [PATCH] disable sane's libtool soname hack on mingw Original logic was confusing the DLL creation process. Each backend was creating a DLL of name libsane-1.dll; overwriting each other each time. Since libsane is built last, you could never get access to other DLL's like you can on unix platforms. Windows doesn't use soname concept anyways. You can copy any libsane-*-1.dll to libsane-1.dll into same directory as scanimage.exe and it will work as expected for that one backend. --- ltmain.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ltmain.sh b/ltmain.sh index 93fd1aaea..f3eb4c83d 100755 --- a/ltmain.sh +++ b/ltmain.sh @@ -8111,6 +8111,8 @@ EOF dlname="$soname" fi case $host in + *mingw*) + ;; *aix*) ;; *)