gnu: ld-wrapper: Add debugging info.

* gnu/packages/ld-wrapper.in (ld-wrapper): Add "libraries linked"
  debugging statement.
This commit is contained in:
Ludovic Courtès 2015-04-21 21:08:44 +02:00
parent cbbb11c8a0
commit 4267c637d6
1 changed files with 2 additions and 0 deletions

View File

@ -199,6 +199,8 @@ impure library ~s~%"
(let* ((libs (library-files-linked args))
(args (append args (rpath-arguments libs))))
(when %debug?
(format (current-error-port)
"ld-wrapper: libraries linked: ~s~%" libs)
(format (current-error-port)
"ld-wrapper: invoking `~a' with ~s~%"
%real-ld args))