Commit adc1a89c authored by André Anjos's avatar André Anjos 💬

Fixes a potential error

parent c68fec64
......@@ -113,7 +113,8 @@ class libsvm:
# find library
prefix = os.path.dirname(os.path.dirname(self.include_directory))
candidates = find_library('svm', version=self.version,
module = 'svm'
candidates = find_library(module, version=self.version,
prefixes=[prefix], only_static=only_static)
if not candidates:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment