[libltdl] removal from gnu ports
David Chisnall
theraven at FreeBSD.org
Wed Jun 7 10:33:49 UTC 2017
On 7 Jun 2017, at 10:33, blubee blubeeme <gurenchan at gmail.com> wrote:
>
> Hi
>
> I'm sure I was reading yesterday on a different machine about the linker
> flag -ld which has something to do with gnu dlopen and how it's ok to
> remove those from your Makefile since FreeBSD handles dlopen and a few
> other things from that header in the standard libc.
>
> Is that correct?
Do you mean -ldl? If so, then yes. On Linux, the dl* symbols are only exported from ld-linux.so if you link against libdl. On FreeBSD, they are exported from rtld regardless.
David
More information about the freebsd-current
mailing list