mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 13:49:23 -05:00
gnu: ld-wrapper: Add debugging info.
* gnu/packages/ld-wrapper.in (ld-wrapper): Add "libraries linked" debugging statement.
This commit is contained in:
parent
cbbb11c8a0
commit
4267c637d6
1 changed files with 2 additions and 0 deletions
|
@ -199,6 +199,8 @@ impure library ~s~%"
|
||||||
(let* ((libs (library-files-linked args))
|
(let* ((libs (library-files-linked args))
|
||||||
(args (append args (rpath-arguments libs))))
|
(args (append args (rpath-arguments libs))))
|
||||||
(when %debug?
|
(when %debug?
|
||||||
|
(format (current-error-port)
|
||||||
|
"ld-wrapper: libraries linked: ~s~%" libs)
|
||||||
(format (current-error-port)
|
(format (current-error-port)
|
||||||
"ld-wrapper: invoking `~a' with ~s~%"
|
"ld-wrapper: invoking `~a' with ~s~%"
|
||||||
%real-ld args))
|
%real-ld args))
|
||||||
|
|
Loading…
Reference in a new issue