title: compile program with set runtime environment?
body: <p>I am trying to compile a program which, when run, will be run in a predefined environment in c.</p>
  
  <p>More specifically, I am looking to somehow include <code>LD_PRELOAD=./lib.so</code> so that when I run <code>./program</code> it will run as if I had used the command <code>LD_PRELOAD=./lib.so ./program</code></p>
  
  <p>Does anyone know if this is possible?</p>