gnu: smithwaterman: Fix cross-compiling.

The 'ar' matched the 'ar' in 'aarch64-linux-gnu' to unfun consequences.

* gnu/packages/bioinformatics.scm (smithwaterman)[arguments]: More
closely match the 'ar' and 'ld' commands when substituting them.
This commit is contained in:
Efraim Flashner 2022-04-10 20:46:01 +03:00
parent 81567f751b
commit 96a132809f
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351

View File

@ -14230,8 +14230,10 @@ some of the details of opening and jumping in tabix-indexed files.")
(("-c ") "-c -fPIC "))
#$@(if (%current-target-system)
#~((substitute* "Makefile"
(("ld") (string-append #$(%current-target-system) "-ld"))
(("ar") (string-append #$(%current-target-system) "-ar"))))
(("\tld")
(string-append "\t" #$(%current-target-system) "-ld"))
(("\tar")
(string-append "\t" #$(%current-target-system) "-ar"))))
'())))
(add-after 'build 'build-dynamic
(lambda _