summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Joldasov <bratishkaerik@landless-city.net>2024-07-24 14:57:21 +0500
committerJoonas Niilola <juippis@gentoo.org>2024-08-05 10:38:17 +0300
commit5b1ed6293014dce1016a26d3532ba467113762da (patch)
treea48feb509261e116c327905a84748160f2dbda1a /dev-lang
parentapp-crypt/adcli: Stabilize 0.9.2 amd64, #937113 (diff)
downloadgentoo-5b1ed6293014dce1016a26d3532ba467113762da.tar.gz
gentoo-5b1ed6293014dce1016a26d3532ba467113762da.tar.bz2
gentoo-5b1ed6293014dce1016a26d3532ba467113762da.zip
dev-lang/zig: fix building with `doc` USE-flag enabled on 9999
Signed-off-by: Eric Joldasov <bratishkaerik@landless-city.net> Closes: https://github.com/gentoo/gentoo/pull/37703 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/zig/zig-9999.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-lang/zig/zig-9999.ebuild b/dev-lang/zig/zig-9999.ebuild
index d278d521c061..f7997e5184e6 100644
--- a/dev-lang/zig/zig-9999.ebuild
+++ b/dev-lang/zig/zig-9999.ebuild
@@ -178,8 +178,8 @@ src_compile() {
if use doc; then
cd "${BUILD_DIR}" || die
- edo ./stage3/bin/zig build std-docs --prefix "${S}/docgen/"
- edo ./stage3/bin/zig build langref --prefix "${S}/docgen/"
+ edo ./stage3/bin/zig build std-docs --zig-lib-dir "${BUILD_DIR}/stage3/lib/zig/" --prefix "${S}/docgen/"
+ edo ./stage3/bin/zig build langref --zig-lib-dir "${BUILD_DIR}/stage3/lib/zig/" --prefix "${S}/docgen/"
fi
}