libxml2: Test for pthread_create instead of pthread_join on FreeBSD

This commit is contained in:
Audrey Dutcher
2024-05-25 13:28:00 -07:00
parent eb53d91b43
commit f6ce3b4dfa
@@ -37,6 +37,11 @@ stdenv.mkDerivation (finalAttrs: rec {
hash = "sha256-JK54/xNjqXPm2L66lBp5RdoqwFbhm1OVautpJ/1s+1Y=";
};
# https://gitlab.gnome.org/GNOME/libxml2/-/issues/725
postPatch = if stdenv.hostPlatform.isFreeBSD then ''
substituteInPlace ./configure.ac --replace-fail pthread_join pthread_create
'' else null;
strictDeps = true;
nativeBuildInputs = [