mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: julia: Don't invoke /sbin/ldconfig.
Reported by Marco van Hulten <marco@hulten.org> in <https://bugs.gnu.org/30282>. * gnu/packages/julia.scm (julia)[arguments] <'hardcode-soname-map>: Patch out 'ldconfig' invocations.
This commit is contained in:
parent
d40b5684c5
commit
9805ad6f87
1 changed files with 6 additions and 0 deletions
|
@ -146,6 +146,12 @@ (define-public julia
|
|||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(use-modules (ice-9 match))
|
||||
(substitute* "src/runtime_ccall.cpp"
|
||||
;; Patch out invocations of '/sbin/ldconfig' to avoid getting
|
||||
;; error messages about missing '/sbin/ldconfig' on GuixSD.
|
||||
(("popen\\(.*ldconfig.*\\);")
|
||||
"NULL;\n")
|
||||
|
||||
;; Populate 'sonameMap'.
|
||||
(("jl_read_sonames.*;")
|
||||
(string-join
|
||||
(map (match-lambda
|
||||
|
|
Loading…
Reference in a new issue