On Sat, May 07, 2016 at 12:31:08PM +0200, Matthias Ferdinand wrote:
> Not sure about other instances of $OPSYS, maybe something like
>
> .if ${OPSYS} == "Linux"
> LDFLAGS+= -ldl
> .endif
>
> in Makefile will help.
Take a look at mk/dlopen.buildlink3.mk.
Joerg