Monday, 4 November 2013

Re: Build on MIPS (GNU/Linux): LDFLAGS needs libdl

christophe.jarry@ouvaton.org writes:
> Hello,
>
> I am on a mips64el-unknown-linux-gnu platform. I have built netsurf
> and had to replace the following line in gtk/Makefile.target:
>
> LDFLAGS += -lm
>
> by this one:
>
> LDFLAGS += -lm -ldl
>
> Can this change be applied in netsurf branch?

Not all platforms use libdl. For instance, on BSD these functions are
kept in libc, and attempting to use -ldl will cause the build to fail
since the library doesn't exist.

--
Anthony J. Bentley

No comments:

Post a Comment