Skip to content

Commit f31d556

Browse files
committed
util-linux: fix static
Fixes: fb70653 ("util-linux: 2.39.4 -> 2.40.4") Closes: #389169
1 parent 7c76d3b commit f31d556

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkgs/by-name/ut/util-linux/package.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,10 @@ stdenv.mkDerivation rec {
105105
++ lib.optionals stdenv.hostPlatform.isDarwin [
106106
# Doesn't build on Darwin, also doesn't really make sense on Darwin
107107
"--disable-liblastlog2"
108+
]
109+
++ lib.optionals stdenv.hostPlatform.isStatic [
110+
# Mandatory shared library.
111+
"--disable-pam-lastlog2"
108112
];
109113

110114
makeFlags = [

0 commit comments

Comments
 (0)