gnu: libtool: Don't reference bash by label.
* gnu/packages/autotools.scm (libtool)[arguments]: Use SEARCH-INPUT-FILE instead of label.master
parent
9e4b3391c5
commit
c84fa7a253
|
@ -475,10 +475,9 @@ Makefile, simplifying the entire process for the developer.")
|
||||||
(number->string (parallel-job-count))
|
(number->string (parallel-job-count))
|
||||||
"1")))
|
"1")))
|
||||||
;; Patch references to /bin/sh.
|
;; 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"
|
(substitute* "tests/testsuite"
|
||||||
(("/bin/sh")
|
(("/bin/sh") /bin/sh)))))
|
||||||
(string-append bash "/bin/sh"))))))
|
|
||||||
;; These files may be copied into source trees by libtoolize,
|
;; These files may be copied into source trees by libtoolize,
|
||||||
;; therefore they must not point to store file names that would be
|
;; therefore they must not point to store file names that would be
|
||||||
;; leaked with tarballs generated by make dist.
|
;; leaked with tarballs generated by make dist.
|
||||||
|
|
Reference in New Issue