depot/third_party/nixpkgs/pkgs/applications/science/math/gmsh/fix-python.patch
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

13 lines
352 B
Diff

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 +