From 4376f9154a31fb13658ee45c583207faea3b8abe Mon Sep 17 00:00:00 2001
From: Andre Anjos <andre.dos.anjos@gmail.com>
Date: Sat, 29 Mar 2014 06:39:46 +0100
Subject: [PATCH] Also fix search for Ubuntu 10.04

---
 setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index f9a8f16..5e6fc30 100644
--- a/setup.py
+++ b/setup.py
@@ -74,7 +74,7 @@ class libsvm:
       libraries when searching.
     """
 
-    candidates = find_header('svm.h', subpaths=['', 'libsvm'])
+    candidates = find_header('svm.h', subpaths=['', 'libsvm', 'libsvm-*/libsvm'])
 
     if not candidates:
       raise RuntimeError("could not find libsvm's `svm.h' - have you installed libsvm on this machine?")
-- 
GitLab