aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac <arunisaac@systemreboot.net>2022-04-26 18:16:39 +0530
committerEfraim Flashner <efraim@flashner.co.il>2022-05-09 11:19:43 +0300
commit8d25887d874ef82d2b277067320af155f4684555 (patch)
treec0a184ffab19d0728fb02813050bd56d0297a0ca
parent9047a31152a2ad8ba6dfbbe7effa9b91f542945d (diff)
downloadguix-8d25887d874ef82d2b277067320af155f4684555.tar
guix-8d25887d874ef82d2b277067320af155f4684555.tar.gz
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 <efraim@flashner.co.il>
-rw-r--r--gnu/packages/bioinformatics.scm8
1 files changed, 7 insertions, 1 deletions
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 @@ library automatically handles index file generation and use.")
("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