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 ? [] }: