From 0a5e56aa039ba600f5a70c474fe4477105a1f777 Mon Sep 17 00:00:00 2001 From: Arthur Gautier Date: Sat, 27 Feb 2021 21:29:19 +0000 Subject: [PATCH] libaio: fixup static compilation Signed-off-by: Arthur Gautier --- pkgs/os-specific/linux/libaio/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/libaio/default.nix b/pkgs/os-specific/linux/libaio/default.nix index 8cbc8466a916..046bba5dda0f 100644 --- a/pkgs/os-specific/linux/libaio/default.nix +++ b/pkgs/os-specific/linux/libaio/default.nix @@ -19,7 +19,7 @@ stdenv.mkDerivation rec { makeFlags = [ "prefix=${placeholder "out"}" - ]; + ] ++ lib.optional stdenv.hostPlatform.isStatic "ENABLE_SHARED=0"; hardeningDisable = lib.optional (stdenv.isi686) "stackprotector";