Unverified Commit 60138282 authored by John Ericson's avatar John Ericson Committed by GitHub
Browse files

curl: autoreconfHook on OpenBSD (#384009)

parents 0237f184 cc8c1a57
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
{ lib, stdenv, fetchurl, darwin, pkg-config, perl, nixosTests
{ lib, stdenv, fetchurl, darwin, pkg-config, perl, nixosTests, autoreconfHook
, brotliSupport ? false, brotli
, c-aresSupport ? false, c-aresMinimal
, gnutlsSupport ? false, gnutls
@@ -83,7 +83,7 @@ stdenv.mkDerivation (finalAttrs: {
    NIX_LDFLAGS = "-liconv";
  };

  nativeBuildInputs = [ pkg-config perl ];
  nativeBuildInputs = [ pkg-config perl ] ++ lib.optionals stdenv.hostPlatform.isOpenBSD [ autoreconfHook ];

  # Zlib and OpenSSL must be propagated because `libcurl.la' contains
  # "-lz -lssl", which aren't necessary direct build inputs of