From d2b46290f82f4ed90e7e33d170024c387a20319f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gy=C3=B6rgy=20Kurucz?= Date: Thu, 31 Oct 2024 15:22:41 +0100 Subject: [PATCH] llvmPackages.libcxx: use hasSharedLibraries instead of isStatic --- pkgs/development/compilers/llvm/common/libcxx/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/compilers/llvm/common/libcxx/default.nix b/pkgs/development/compilers/llvm/common/libcxx/default.nix index 4bc942dbe06fb..c4ada0bf669be 100644 --- a/pkgs/development/compilers/llvm/common/libcxx/default.nix +++ b/pkgs/development/compilers/llvm/common/libcxx/default.nix @@ -15,7 +15,7 @@ , freebsd , cxxabi ? if stdenv.hostPlatform.isFreeBSD then freebsd.libcxxrt else null , libunwind -, enableShared ? !stdenv.hostPlatform.isStatic +, enableShared ? stdenv.hostPlatform.hasSharedLibraries , devExtraCmakeFlags ? [] }: