about summary refs log tree commit diff
path: root/pkgs/applications/science/math/gmsh/fix-python.patch
blob: 41c5c3b8f97601c76b280e2e99e8805807f702c4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/api/gmsh.py b/api/gmsh.py
index f525284..a225c85 100644
--- a/api/gmsh.py
+++ b/api/gmsh.py
@@ -78,6 +78,8 @@ if not libpath:
     else:
         libpath = find_library("gmsh")
 
+libpath = "@LIBPATH@"
+
 # ... and print a warning if everything failed
 if not libpath:
     print("Warning: could not find Gmsh shared library " + libname +