[fpc-pascal] Something like TProcess.Environment for libraries ?

Jonas Maebe jonas at freepascal.org
Mon Jan 30 22:33:33 CET 2017


On 30/01/17 12:27, fredvs wrote:
> Hello Jonas.
>
>>  -k-rpath -k$(DEFAULT_LIB_INSTALL_PATH), or "-k-rpath
>> $(DEFAULT_LIB_INSTALL_PATH)"
>
> Ok, excellent.
>
> Does it work while linking libraries too ?

Yes.

 > Is it cross-platform (does it work for Windows too) ?

No. It doesn't work for OS X either. On neither of those platforms that 
option would make any sense, as they use different ways to look for 
shared libraries.


Jonas



More information about the fpc-pascal mailing list