diff options
Diffstat (limited to 'extensions/source/scanner/sane.cxx')
-rw-r--r-- | extensions/source/scanner/sane.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/extensions/source/scanner/sane.cxx b/extensions/source/scanner/sane.cxx index ee8b4e1a7242..ff1d11c9ad6f 100644 --- a/extensions/source/scanner/sane.cxx +++ b/extensions/source/scanner/sane.cxx @@ -2,9 +2,9 @@ * * $RCSfile: sane.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: hr $ $Date: 2000-11-07 14:44:31 $ + * last change: $Author: pl $ $Date: 2001-04-27 13:50:55 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -213,6 +213,9 @@ Sane::~Sane() void Sane::Init() { pSaneLib = dlopen( "libsane.so", RTLD_LAZY ); + // try reasonable places that might not be in the library search path + if( ! pSaneLib ) + pSaneLib = dlopen( "/usr/local/lib/libsane.so", RTLD_LAZY ); if( pSaneLib ) { bSaneSymbolLoadFailed = FALSE; |