From 1afd1674c9e3b4617633cfd16af63f685c991692 Mon Sep 17 00:00:00 2001
From: loikki <loic.hausammann@protonmail.ch>
Date: Mon, 5 Aug 2019 14:03:07 +0200
Subject: [PATCH] test

---
 setup.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/setup.py b/setup.py
index b5a8d0b..c8c1ee9 100644
--- a/setup.py
+++ b/setup.py
@@ -80,12 +80,12 @@ if swift_path:
     ])
 
     # hdf5
+    if "/usr/bin" in hdf5_root:
+        include.append("/usr/include/hdf5/serial")
+
     if "bin" in hdf5_root:
         hdf5_root = hdf5_root.split("bin")[0]
 
-    if "/usr/lib" in hdf5_root:
-        include.append("/usr/include/hdf5/serial")
-
     # grackle
     if parseCmdLine("--with-grackle", store=True):
         grackle_inc = getValueFromMakefile(swift_path, "GRACKLE_INCS = -I")
-- 
GitLab