Commit f6ce3b4d authored by Audrey Dutcher's avatar Audrey Dutcher
Browse files

libxml2: Test for pthread_create instead of pthread_join on FreeBSD

parent eb53d91b
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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 = [