Unverified Commit 7d2a2e33 authored by Jared Baur's avatar Jared Baur
Browse files

dropbear: disable wtmp when using musl

WTMP is not available when using musl libc, so disable it in dropbear
builds.
parent 5ccdc38f
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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=(