mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 03:55:08 -06:00
gnu: apt-cacher-ng: Fix cross-compiling.
* gnu/packages/debian.scm (apt-cacher-ng)[arguments]<#:configure-flags>: Set PKG_CONFIG_EXECUTABLE. Change-Id: Iff300191a2db5b7db8b3dc2790acc0f5ac74b845
This commit is contained in:
parent
8c483c12e9
commit
ad74dedb9f
1 changed files with 7 additions and 0 deletions
|
|
@ -25,6 +25,7 @@
|
|||
#:use-module (guix git-download)
|
||||
#:use-module (guix gexp)
|
||||
#:use-module (guix packages)
|
||||
#:use-module (guix utils)
|
||||
#:use-module (guix build-system cmake)
|
||||
#:use-module (guix build-system copy)
|
||||
#:use-module (guix build-system gnu)
|
||||
|
|
@ -556,6 +557,12 @@ debian/copyright for more information.")))))
|
|||
(native-inputs (list pkg-config))
|
||||
(arguments
|
||||
(list
|
||||
#:configure-flags
|
||||
#~(list
|
||||
(string-append "-DPKG_CONFIG_EXECUTABLE="
|
||||
(search-input-file
|
||||
%build-inputs (string-append
|
||||
"/bin/" #$(pkg-config-for-target)))))
|
||||
#:tests? #f ;Tests are "for development only".
|
||||
#:phases #~(modify-phases %standard-phases
|
||||
;; We want to provide good defaults. Here apt-cacher-ng is built
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue