gnu: libtool: Don't reference bash by label.
* gnu/packages/autotools.scm (libtool)[arguments]: Use SEARCH-INPUT-FILE instead of label.
This commit is contained in:
parent
9e4b3391c5
commit
c84fa7a253
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user