summaryrefslogtreecommitdiff
path: root/dev-util/directx-headers/directx-headers-1.616.0.ebuild
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@gentoo.org>2025-07-23 20:19:25 -0400
committerEli Schwartz <eschwartz@gentoo.org>2025-07-24 00:50:13 -0400
commitd6456aedc66774116a094711c1bd7689e397faa0 (patch)
tree19371f59a6ac9a9ca6c92af998bf8780b6b5fe9d /dev-util/directx-headers/directx-headers-1.616.0.ebuild
parentdaa0ed29393598339c9728f92b40572bdf3f55d5 (diff)
downloadgentoo-d6456aedc66774116a094711c1bd7689e397faa0.tar.gz
gentoo-d6456aedc66774116a094711c1bd7689e397faa0.tar.bz2
gentoo-d6456aedc66774116a094711c1bd7689e397faa0.zip
dev-util/directx-headers: use dot-a.eclass
... to avoid installing broken static libraries w/ LTO. Closes: https://bugs.gentoo.org/958348 Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
Diffstat (limited to 'dev-util/directx-headers/directx-headers-1.616.0.ebuild')
-rw-r--r--dev-util/directx-headers/directx-headers-1.616.0.ebuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/dev-util/directx-headers/directx-headers-1.616.0.ebuild b/dev-util/directx-headers/directx-headers-1.616.0.ebuild
index 6eb9e68a7536..a6a696ef86b1 100644
--- a/dev-util/directx-headers/directx-headers-1.616.0.ebuild
+++ b/dev-util/directx-headers/directx-headers-1.616.0.ebuild
@@ -4,7 +4,7 @@
EAPI=8
MY_PN=DirectX-Headers
-inherit meson-multilib
+inherit dot-a meson-multilib
if [[ ${PV} == *9999* ]]; then
EGIT_REPO_URI="https://github.com/microsoft/${MY_PN}.git"
@@ -22,9 +22,17 @@ LICENSE="MIT"
SLOT="0"
multilib_src_configure() {
+ lto-guarantee-fat
+
local emesonargs=(
-Dbuild-test=false
)
meson_src_configure
}
+
+multilib_src_install_all() {
+ strip-lto-bytecode
+ einstalldocs
+
+}