Skip to content

Commit cc8c1a5

Browse files
committed
curl: autoreconfHook on OpenBSD
It uses an old version of libtool that messes up shared libaries on this platform.
1 parent a52a8d7 commit cc8c1a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkgs/by-name/cu/curlMinimal/package.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{ lib, stdenv, fetchurl, darwin, pkg-config, perl, nixosTests
1+
{ lib, stdenv, fetchurl, darwin, pkg-config, perl, nixosTests, autoreconfHook
22
, brotliSupport ? false, brotli
33
, c-aresSupport ? false, c-aresMinimal
44
, gnutlsSupport ? false, gnutls
@@ -90,7 +90,7 @@ stdenv.mkDerivation (finalAttrs: {
9090
NIX_LDFLAGS = "-liconv";
9191
};
9292

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

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

0 commit comments

Comments
 (0)