From 8d25887d874ef82d2b277067320af155f4684555 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Tue, 26 Apr 2022 18:16:39 +0530 Subject: gnu: vcflib: Set absolute path to pkg-config. Setting the absolute path to pkg-config is required to support cross-compilation. * gnu/packages/bioinformatics.scm (vcflib)[arguments]: Set PKG_CONFIG_EXECUTABLE in #:configure-flags. Signed-off-by: Efraim Flashner --- gnu/packages/bioinformatics.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index d54ddeb575..ca6c1eba19 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -14608,7 +14608,13 @@ (define-public vcflib ("intervaltree-src" ,(package-source intervaltree)) ("multichoose-src" ,(package-source multichoose)))) (arguments - (list #:tests? #f ; no tests + (list #:configure-flags + #~(list (string-append + "-DPKG_CONFIG_EXECUTABLE=" + (search-input-file + %build-inputs (string-append + "/bin/" #$(pkg-config-for-target))))) + #:tests? #f ; no tests #:phases #~(modify-phases %standard-phases (add-after 'unpack 'build-shared-library -- cgit v1.2.3