xz: run autoreconfHook on OpenBSD
This cannot be made unconditional as it causes infinite recursion, but the old libtool being used messes up the distribution of OpenBSD shared libraries.
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
autoreconfHook,
|
||||
enableStatic ? stdenv.hostPlatform.isStatic,
|
||||
writeScript,
|
||||
testers,
|
||||
@@ -37,6 +38,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
enableParallelBuilding = true;
|
||||
doCheck = true;
|
||||
|
||||
nativeBuildInputs = lib.optionals stdenv.hostPlatform.isOpenBSD [
|
||||
autoreconfHook
|
||||
];
|
||||
|
||||
# this could be accomplished by updateAutotoolsGnuConfigScriptsHook, but that causes infinite recursion
|
||||
# necessary for FreeBSD code path in configure
|
||||
postPatch = ''
|
||||
|
||||
Reference in New Issue
Block a user