dropbear: disable wtmp when using musl
WTMP is not available when using musl libc, so disable it in dropbear builds.
This commit is contained in:
@@ -32,6 +32,11 @@ stdenv.mkDerivation rec {
|
||||
(lib.concatStringsSep " ")
|
||||
];
|
||||
|
||||
configureFlags = lib.optionals stdenv.hostPlatform.isMusl [
|
||||
"--enable-wtmp=no"
|
||||
"--enable-wtmpx=no"
|
||||
];
|
||||
|
||||
# https://www.gnu.org/software/make/manual/html_node/Libraries_002fSearch.html
|
||||
preConfigure = ''
|
||||
makeFlagsArray=(
|
||||
|
||||
Reference in New Issue
Block a user