zyedidia / SFML.jl

A binding of the game and multimedia library SFML for Julia
Other
93 stars 22 forks source link

`build.jl` doesn't do a very thorough search for the system libraries #31

Open mweastwood opened 7 years ago

mweastwood commented 7 years ago

I recently upgraded to Ubuntu Xenial and lib(c)sfml-* are now installed to /usr/lib/x86_64-linux-gnu, but the build.jl script is only checking /usr/lib. It would be nice if the build system was somewhat robust to this.

I think the correct approach may be to check whether Libdl.dlopen can find all the libraries you need to link against (at least I think this is what BinDeps.jl does to check whether the dependencies exist).