wpa_supplicant: fix static linking
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Tue, 4 Mar 2014 13:35:12 +0000 (10:35 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 4 Mar 2014 18:34:45 +0000 (19:34 +0100)
commit712b8897e687a828b073858f915cdbebfd1e31a3
treebf982a455c58f316ad93fca10dca325beef92bc8
parent30a8b49576437555ef98e632121dc52d0969c077
wpa_supplicant: fix static linking

wpa_supplicant doesn't use pkg-config and upstream likely wouldn't take
a patch to do so (hostapd/wpa_supplicant are used in android builds, and
it doesn't use any auto* stuff either) so pass it in LIBS* since we
always build openssl with libz support.

Made ugly by the fact that wpa_supplicant uses LIBS for the
wpa_supplicant binary, LIBS_c for the wpa_cli binary and LIBS_p for the
wpa_passphrase binary.

Also do f62a1d887aee642593b3f9507d6f3ebcd82219d0 here too since it
applies when libnl is used.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/wpa_supplicant/wpa_supplicant.mk