summary refs log tree commit diff
path: root/gnu-system.am
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-04-07 10:21:36 +0200
committerLudovic Courtès <ludo@gnu.org>2015-04-07 22:28:35 +0200
commit51d0cd9b3852fe4ebf4b4cd9b251e6493624d022 (patch)
treeedccbe4e17a4427b601dbdd833ec0bd9da6e2481 /gnu-system.am
parent41fc0eb90056c1f0aad41a971bf0c5eff5a72c97 (diff)
downloadguix-51d0cd9b3852fe4ebf4b4cd9b251e6493624d022.tar.gz
gnu: ld-wrapper: Add '-rpath' flag only for libraries that are in the store.
This avoids adding bogus entries to the RUNPATH of installed binaries,
pointing to the build directory or similar.

* gnu/packages/ld-wrapper.scm (store-file-name?): New procedure.
  (rpath-arguments): Add "-rpath" flag on when FILE matches
  'store-file-name?', not when it matches 'pure-file-name?'.
Diffstat (limited to 'gnu-system.am')
0 files changed, 0 insertions, 0 deletions