On Thu, Dec 5, 2019 at 3:08 AM Niels Möller nisse@lysator.liu.se wrote:
...
Does OpenBSBs runtime linker look in /usr/local/lib by default? The configure script also supports --with-lib-path=/usr/local/lib, which will add a -L flag and in addition attempt to guess the proper -R/-Wl,-rpath flags.
The runtime linker is configured to use /usr/local/lib. However, compile and link requires explicit -I /usr/local/include and -L /usr/local/lib to find things.
(Based on my testing of DragonFly, FreeBSD, OpenBSD and NetBSD. I don't recall what Debian's kFreeBSD does).
Jeff