charmc: Add "-rpath-origin" parameter11/3711/13
commit57ad1d275bc1cd55dab80e60ac037587bb7b7657
authorEvan Ramos <evan@hpccharm.com>
Fri, 9 Feb 2018 22:54:13 +0000 (9 16:54 -0600)
committerSam White <white67@illinois.edu>
Fri, 30 Mar 2018 16:35:53 +0000 (30 11:35 -0500)
tree3e2252bbefb959cbe6c817b948b75d2548f44dea
parent1d1fd84705607a9c738ed6c7795a98bb602bfc42
charmc: Add "-rpath-origin" parameter

This option will pass '-Wl,-rpath,$ORIGIN' to the linker on systems
that support it, for the purpose of searching a binary's own folder for
shared objects.

Some systems have this behavior by default, and in such cases the option
is a no-op.

Change-Id: I60b9c4b12b294db8b1c303c5304a61b76770762e
src/scripts/charmc