LDPOSTLINK

LDPOSTLINK -- Add command to execute after runtime class is linked

Synopsis

 * 1) setenv LDPOSTLINK=command

-or-

/bin/bash$ export LDPOSTLINK=command

Remarks
Some operating systems require special commands to allow dynamic link or shared libraries to used after they are linked. For example, SELinux requires the following to load a runtime class after it is built and linked.

chcon -t textrel_shlib_t afile

To make this occur before the runtime module is loaded, use

/bin/bash$ export LDPOSTLINK=chcon -t textrel_shlib_t

to cause the command to be executed on every afile created by the runtime class compiler.

Version
This option is supported as of.