mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
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:
parent
6366bdf562
commit
80cb31ca86
@ -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
|
||||
}
|
||||
|
||||
|
||||
@ -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
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user