3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

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

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))