Skip to content

Commit 23b4e3f

Browse files
risiclerhelmot
authored andcommitted
tevent: fix pkgsLLVM build
1 parent 1e194a3 commit 23b4e3f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pkgs/by-name/te/tevent/package.nix

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,11 @@ stdenv.mkDerivation rec {
6767
# module, which works correctly in all cases.
6868
PYTHON_CONFIG = "/invalid";
6969

70+
# https://reviews.llvm.org/D135402
71+
NIX_LDFLAGS = lib.optional (
72+
stdenv.cc.bintools.isLLVM && lib.versionAtLeast stdenv.cc.bintools.version "17"
73+
) "--undefined-version";
74+
7075
meta = with lib; {
7176
description = "Event system based on the talloc memory management library";
7277
homepage = "https://tevent.samba.org/";

0 commit comments

Comments
 (0)