summaryrefslogtreecommitdiff
path: root/scan/sane/marvell.c
diff options
context:
space:
mode:
Diffstat (limited to 'scan/sane/marvell.c')
-rw-r--r--scan/sane/marvell.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/scan/sane/marvell.c b/scan/sane/marvell.c
index 4d1d5bb67..30c53495e 100644
--- a/scan/sane/marvell.c
+++ b/scan/sane/marvell.c
@@ -61,7 +61,10 @@ static int bb_load(struct marvell_session *ps, const char *so)
/* Load hpmud manually with symbols exported. Otherwise the plugin will not find it. */
if ((ps->hpmud_handle = load_library("libhpmud.so")) == NULL)
- goto bugout;
+ {
+ if ((ps->hpmud_handle = load_library("libhpmud.so.0")) == NULL)
+ goto bugout;
+ }
/* Load math library manually with symbols exported (Ubuntu 8.04). Otherwise the plugin will not find it. */
if ((ps->math_handle = load_library("libm.so")) == NULL)