From GridLAB-D Wiki
LDPOSTLINK -- Add command to execute after runtime class is linked
Synopsis
#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 Keeler (Version 4.0).
See also
- Runtime classes
- Runtime compiler support
- Runtime Class User Guide
- Runtime compiler environment variables
- External function compiler flags
- Module compiler flags