mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-07 11:29:59 +01:00
gnu: vulkan-loader: Fix cross-compilation.
* gnu/packages/vulkan.scm (vulkan-loader)[arguments]<#:configure>: When cross-compilation, set the PKG_CONFIG_EXECUTABLE variable. Change-Id: Ie0466a64effa5c93f859ff872423f2403f23f5cb Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
parent
7ad2bf9ded
commit
0f82dfeb0a
1 changed files with 6 additions and 2 deletions
|
@ -6,7 +6,7 @@
|
|||
;;; Copyright © 2021 Mathieu Othacehe <othacehe@gnu.org>
|
||||
;;; Copyright © 2022 Kaelyn Takata <kaelyn.alexi@protonmail.com>
|
||||
;;; Copyright © 2022, 2024 dan <i@dan.games>
|
||||
;;; Copyright © 2023 Zheng Junjie <873216071@qq.com>
|
||||
;;; Copyright © 2023, 2024 Zheng Junjie <873216071@qq.com>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -297,7 +297,11 @@ interpretation of the specifications for these languages.")
|
|||
(search-input-directory
|
||||
%build-inputs "include/vulkan"))))
|
||||
#$@(if (%current-target-system)
|
||||
#~("-DBUILD_TESTS=OFF" "-DUSE_GAS=OFF")
|
||||
#~("-DBUILD_TESTS=OFF" "-DUSE_GAS=OFF"
|
||||
(string-append "-DPKG_CONFIG_EXECUTABLE="
|
||||
(search-input-file
|
||||
%build-inputs
|
||||
(string-append "bin/" #$(pkg-config-for-target)))))
|
||||
#~("-DBUILD_TESTS=ON")))
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
|
|
Loading…
Add table
Reference in a new issue