~ruther/guix-local

4267c637d63ac7c48fe8206623ca976fc0dd742a — Ludovic Courtès 11 years ago cbbb11c
gnu: ld-wrapper: Add debugging info.

* gnu/packages/ld-wrapper.in (ld-wrapper): Add "libraries linked"
  debugging statement.
1 files changed, 2 insertions(+), 0 deletions(-)

M gnu/packages/ld-wrapper.in
M gnu/packages/ld-wrapper.in => gnu/packages/ld-wrapper.in +2 -0
@@ 200,6 200,8 @@ impure library ~s~%"
         (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))
    (apply execl %real-ld (basename %real-ld) args)))