]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
hostapd: fix static build failure
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Fri, 29 Nov 2013 14:25:43 +0000 (11:25 -0300)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 29 Nov 2013 18:41:58 +0000 (19:41 +0100)
commitf62a1d887aee642593b3f9507d6f3ebcd82219d0
tree96546f10f6950de9a1699d1848cb4287d0843c1f
parentcf4ec89bfb0f9ae1ecf37fd070c1e167558ba0d0
hostapd: fix static build failure

libnl-3 uses threads and this isn't accounted for in hostapd (or
libnl-3*.pc files for that matter - hostapd doesn't use pkg-config
anyway).
Since linking order matters for static scenarios also throw in -lnl-3
into LIBS first since it gets appended to in hostapd makefiles to add
libnl-3.

Fixes:
http://autobuild.buildroot.net/results/d4a/d4a9f44effeb08eda6c4b32764274ae81d185d5e/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/hostapd/hostapd.mk