apr: update libtool, fix downstream aprutil on aarch64-darwin
This commit is contained in:
parent
3706fe567b
commit
92d53249f6
|
@ -1,4 +1,4 @@
|
|||
{ lib, stdenv, fetchurl }:
|
||||
{ lib, stdenv, fetchurl, autoreconfHook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "apr-1.7.0";
|
||||
|
@ -36,6 +36,10 @@ stdenv.mkDerivation rec {
|
|||
|
||||
CPPFLAGS=lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) "-DAPR_IOVEC_DEFINED";
|
||||
|
||||
nativeBuildInputs =
|
||||
# Update libtool for macOS 11 support
|
||||
lib.optional (stdenv.isDarwin && stdenv.isAarch64) [ autoreconfHook ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in New Issue