Skip to content

Commit 3c917ce

Browse files
authoredMar 21, 2025
util-linux: fix static (#391528)
2 parents 98badb5 + f31d556 commit 3c917ce

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

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

+4
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)
Failed to load comments.