Forum > macOS / Mac OS X
How to tell LoadLibrary the path to libssl?
anse:
Thank you @Espectr0, that works like a charm now. TFPHttpClient can now request https pages normally. 8-)
That rpath option (run-time search path) is even well documented - I just missed it: https://wiki.freepascal.org/macOS_Frameworks#Distributing_an_application_with_a_Framework
Note it should be "-rpath @loader_path/../Frameworks". Not sure if @executable_path does the same.
Navigation
[0] Message Index
[*] Previous page