From b2557f76532a4d3804615f9e64cff3bc732b199b Mon Sep 17 00:00:00 2001 From: Ben Gamari Date: Fri, 30 Dec 2022 09:16:19 -0500 Subject: gmsh: Enable shared library This allows use of the Python and other bindings. --- pkgs/applications/science/math/gmsh/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/applications/science/math/gmsh/default.nix b/pkgs/applications/science/math/gmsh/default.nix index 22eee8b305a..23c1e1dab2a 100644 --- a/pkgs/applications/science/math/gmsh/default.nix +++ b/pkgs/applications/science/math/gmsh/default.nix @@ -20,6 +20,12 @@ stdenv.mkDerivation rec { xorg.libICE ]; + # N.B. the shared object is used by bindings + cmakeFlags = [ + "-DENABLE_BUILD_SHARED=ON" + "-DENABLE_BUILD_DYNAMIC=ON" + ]; + nativeBuildInputs = [ cmake gfortran ]; doCheck = true; -- cgit 1.4.1