media-libs/vulkan-loader: Fix cross-compiling by specifying git and python

Signed-off-by: James Le Cuirot <chewi@gentoo.org>
This commit is contained in:
James Le Cuirot 2025-12-21 13:01:36 +00:00
parent 6366bdf562
commit 80cb31ca86
No known key found for this signature in database
GPG Key ID: 1226415D00DD3137
2 changed files with 14 additions and 0 deletions

View File

@ -49,7 +49,14 @@ multilib_src_configure() {
-DBUILD_WSI_XCB_SUPPORT=$(usex X)
-DBUILD_WSI_XLIB_SUPPORT=$(usex X)
-DVULKAN_HEADERS_INSTALL_DIR="${ESYSROOT}/usr"
-DGIT_EXECUTABLE="${BROOT}/usr/bin/git"
)
if tc-is-cross-compiler; then
# Python only needed when cross-compiling so don't bother with eclass.
mycmakeargs+=( -DPython3_EXECUTABLE="${BROOT}/usr/bin/python3" )
fi
cmake_src_configure
}

View File

@ -49,7 +49,14 @@ multilib_src_configure() {
-DBUILD_WSI_XCB_SUPPORT=$(usex X)
-DBUILD_WSI_XLIB_SUPPORT=$(usex X)
-DVULKAN_HEADERS_INSTALL_DIR="${ESYSROOT}/usr"
-DGIT_EXECUTABLE="${BROOT}/usr/bin/git"
)
if tc-is-cross-compiler; then
# Python only needed when cross-compiling so don't bother with eclass.
mycmakeargs+=( -DPython3_EXECUTABLE="${BROOT}/usr/bin/python3" )
fi
cmake_src_configure
}