summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2023-03-08 14:20:54 +0000
committerMarek Szuba <marecki@gentoo.org>2023-03-08 14:22:48 +0000
commita597bb111dbd008fc6e6cec248bfa1f325f270d3 (patch)
tree63d3ee5033cc1bb590cba6f3b8bc761685b59f0a /sys-apps/flashrom
parentnet-misc/dropbox: add 169.4.5684 (diff)
downloadgentoo-a597bb111dbd008fc6e6cec248bfa1f325f270d3.tar.gz
gentoo-a597bb111dbd008fc6e6cec248bfa1f325f270d3.tar.bz2
gentoo-a597bb111dbd008fc6e6cec248bfa1f325f270d3.zip
sys-apps/flashrom: do not install static libraries
Closes: https://bugs.gentoo.org/900364 Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'sys-apps/flashrom')
-rw-r--r--sys-apps/flashrom/flashrom-1.3.0.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys-apps/flashrom/flashrom-1.3.0.ebuild b/sys-apps/flashrom/flashrom-1.3.0.ebuild
index 14e290966f1b..96d7cbdffb27 100644
--- a/sys-apps/flashrom/flashrom-1.3.0.ebuild
+++ b/sys-apps/flashrom/flashrom-1.3.0.ebuild
@@ -117,6 +117,11 @@ src_configure() {
src_install() {
meson_src_install
+ # Upstream requires libflashrom.a to be present at build time because the classic CLI
+ # executable uses internal symbols from that library. Therefore, we let it be built
+ # but keep it out of the installed tree.
+ find "${ED}" -name '*.a' -delete || die
+
if use tools; then
dosbin "${BUILD_DIR}"/util/ich_descriptors_tool/ich_descriptors_tool
fi