elfutils: mark as broken when building a static library

elfutils uses dlopen for central features.
This commit is contained in:
Guillaume Girol 2022-04-24 12:00:00 +00:00
parent 978c7ce28c
commit 6694081af0

View file

@ -85,6 +85,8 @@ stdenv.mkDerivation rec {
homepage = "https://sourceware.org/elfutils/"; homepage = "https://sourceware.org/elfutils/";
description = "A set of utilities to handle ELF objects"; description = "A set of utilities to handle ELF objects";
platforms = platforms.linux; platforms = platforms.linux;
# https://lists.fedorahosted.org/pipermail/elfutils-devel/2014-November/004223.html
broken = stdenv.hostPlatform.isStatic;
# licenses are GPL2 or LGPL3+ for libraries, GPL3+ for bins, # licenses are GPL2 or LGPL3+ for libraries, GPL3+ for bins,
# but since this package isn't split that way, all three are listed. # but since this package isn't split that way, all three are listed.
license = with licenses; [ gpl2Only lgpl3Plus gpl3Plus ]; license = with licenses; [ gpl2Only lgpl3Plus gpl3Plus ];