From 21ea5e57021077bad216f75cc558d0979e8ac0eb Mon Sep 17 00:00:00 2001 From: K900 Date: Sat, 11 Oct 2025 15:07:50 +0300 Subject: [PATCH] tinyxml-2: build as shared --- pkgs/by-name/ti/tinyxml-2/package.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/by-name/ti/tinyxml-2/package.nix b/pkgs/by-name/ti/tinyxml-2/package.nix index 5206b1bac7da..5445237a4511 100644 --- a/pkgs/by-name/ti/tinyxml-2/package.nix +++ b/pkgs/by-name/ti/tinyxml-2/package.nix @@ -19,6 +19,7 @@ stdenv.mkDerivation (finalAttrs: { nativeBuildInputs = [ cmake ]; cmakeFlags = [ + "-DBUILD_SHARED_LIBS=ON" # the cmake package does not handle absolute CMAKE_INSTALL_INCLUDEDIR # correctly (setting it to an absolute path causes include files to go to # $out/$out/include, because the absolute path is interpreted with root at