1 From 7691ebcf38c59332eb819f909250a22ba5e8e50b Mon Sep 17 00:00:00 2001
2 From: Tom Rini <trini@konsulko.com>
3 Date: Tue, 24 Oct 2017 12:01:51 -0400
4 Subject: [PATCH 1/1] wand/api.py: Change search order
6 In addition to specifying MAGICK_HOME to ensure that we will even look
7 within our desired paths, we need to also check for the type of library
8 that we know we have. Otherwise we may find a different form of the
9 library in one of the system paths before we try ours.
11 Upstream-Status: Inappropriate [configuration]
12 Signed-off-by: Tom Rini <trini@konsulko.com>
15 1 file changed, 1 insertion(+), 1 deletion(-)
17 diff --git a/wand/api.py b/wand/api.py
18 index 19cf6d2..dde9c5e 100644
21 @@ -55,7 +55,7 @@ def library_paths():
25 - versions = '', '-6', '-Q16', '-Q8', '-6.Q16'
26 + versions = '-6.Q16', '-6', '-Q16', '-Q8', ''
27 options = '', 'HDRI', 'HDRI-2'
28 system = platform.system()
29 magick_home = os.environ.get('MAGICK_HOME')