aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/ld-wrapper.in
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-04-21 21:08:44 +0200
committerLudovic Courtès <ludo@gnu.org>2015-04-21 21:08:44 +0200
commit4267c637d63ac7c48fe8206623ca976fc0dd742a (patch)
treedb61b48899b978d62b02b667fe3e633a2df7f0eb /gnu/packages/ld-wrapper.in
parentcbbb11c8a00c64cb24081025239f77208661b961 (diff)
downloadguix-4267c637d63ac7c48fe8206623ca976fc0dd742a.tar
guix-4267c637d63ac7c48fe8206623ca976fc0dd742a.tar.gz
gnu: ld-wrapper: Add debugging info.
* gnu/packages/ld-wrapper.in (ld-wrapper): Add "libraries linked" debugging statement.
Diffstat (limited to 'gnu/packages/ld-wrapper.in')
-rw-r--r--gnu/packages/ld-wrapper.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/packages/ld-wrapper.in b/gnu/packages/ld-wrapper.in
index f4ab17c59f..ed2a51ea67 100644
--- a/gnu/packages/ld-wrapper.in
+++ b/gnu/packages/ld-wrapper.in
@@ -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)))