mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-05-14 05:05:53 +02: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user