spack/etc/spack/defaults
Massimiliano Culpo b29eb4212e Users can configure use of RPATH or RUNPATH (#9168)
Add a new entry in `config.yaml`:

    config:
        shared_linking: 'rpath'

If this variable is set to `rpath` (the default) Spack will set RPATH in ELF binaries. If set to `runpath` it will set RUNPATH.

Details:
* Spack cc wrapper explicitly adds `--disable-new-dtags` when linking
* cc wrapper also strips `--enable-new-dtags` from the compile line
    when disabling (and vice versa)
* We specifically do *not* add any dtags flags on macOS, which uses
    Mach-O binaries, not ELF, so there's no RUNPATH)
2019-10-23 13:22:24 -07:00
..
darwin Set DYLD_LIBRARY_PATH on macOS (#9073) 2018-08-23 15:39:44 +02:00
linux Set DYLD_LIBRARY_PATH on macOS (#9073) 2018-08-23 15:39:44 +02:00
config.yaml Users can configure use of RPATH or RUNPATH (#9168) 2019-10-23 13:22:24 -07:00
modules.yaml Consistently support pkg-config files in share subdirectory (#12838) 2019-10-05 21:03:35 -05:00
packages.yaml Make OpenJDK the default (#12106) 2019-07-25 10:25:26 -07:00
repos.yaml Add "default" configuration scope. 2016-07-19 17:10:17 -07:00