Skip to content
Snippets Groups Projects
Commit 51d0cd9b authored by Ludovic Courtès's avatar Ludovic Courtès
Browse files

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?'.
parent 41fc0eb9
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment