agent.sh adds '.' to LD_LIBRARY_PATH

Hi,

I am trying to build glibc using my agent (this is part of our build system for a customized linux distribution). glibc requires LD_LIBRARY_PATH to not contain '.' (dot). Unfortunately, agent.sh adds '.' to LD_LIBRARY_PATH in the init_jre method:

      LD_LIBRARY_PATH=$LD_LIBRARY_PATH:.
      export LD_LIBRARY_PATH

Could this instead be done with `pwd`? The script already changes directory to the correct place, so it seems this would be possible.
Thanks in advance!

Please sign in to leave a comment.