in reply to Re: How to determine $(DY)LD_LIBRARY_(PATH)
in thread How to determine $(DY)LD_LIBRARY_(PATH)
Here's the problem: I have to write out a configuration file that, after building expat, points to where the libraries are installed - and do so portably, so that on an OS that uses $LD_LIBRARY_PATH it'll write:
...and on OS's that use $DYLD_LIBRARY_PATH the same thing, and on windows a similar manipulation of %PATH%.
LD_LIBRARY_PATH=/path/to/expat:$LD_LIBRARY_PATH; export LD_LIBRARY_PAT +H
...and on OS's that use $DYLD_LIBRARY_PATH the same thing, and on windows a similar manipulation of %PATH%.
In Section
Seekers of Perl Wisdom