Skip to content
Commit cbf2ae29 authored by Peter Korsgaard's avatar Peter Korsgaard
Browse files

dnsmasq: static linking with lua doesn't need -ldl

Fixes http://autobuild.buildroot.net/results/77e/77e4123a3ddc934efedf4b09adc2436421ee70b3/



liblua only uses libdl when dynamic linking is used, and certain toolchains
(E.G.  bfin) doesn't provide a libdl - So only link against it if it is
needed.

At the same time change it pass the library in LIBS instead of LDFLAGS so it
ends up at the end of the linker cmdline.

Signed-off-by: default avatarPeter Korsgaard <peter@korsgaard.com>
parent 11dbb615
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment