me
/
guix
Archived
1
0
Fork 0

gnu: libtool: Don't reference bash by label.

* gnu/packages/autotools.scm (libtool)[arguments]: Use SEARCH-INPUT-FILE
instead of label.
master
Marius Bakke 2022-07-17 00:12:35 +02:00
parent 9e4b3391c5
commit c84fa7a253
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 2 additions and 3 deletions

View File

@ -475,10 +475,9 @@ Makefile, simplifying the entire process for the developer.")
(number->string (parallel-job-count))
"1")))
;; Patch references to /bin/sh.
(let ((bash (assoc-ref (or native-inputs inputs) "bash")))
(let ((/bin/sh (search-input-file (or native-inputs inputs) "bin/sh")))
(substitute* "tests/testsuite"
(("/bin/sh")
(string-append bash "/bin/sh"))))))
(("/bin/sh") /bin/sh)))))
;; These files may be copied into source trees by libtoolize,
;; therefore they must not point to store file names that would be
;; leaked with tarballs generated by make dist.