aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/Makefile
diff options
context:
space:
mode:
authorRoger Zanoni <roger.zanoni@openbossa.org>2014-02-19 19:46:11 (GMT)
committerJouni Malinen <j@w1.fi>2014-02-20 14:32:26 (GMT)
commit848905b12abf2df650c43cb821d36a13246baacb (patch)
tree63d76dc090504f5c81b33c16395718c1bf2c5921 /wpa_supplicant/Makefile
parent9e3883642748c8fcb98d9aacf8ab751983b91de8 (diff)
downloadhostap-848905b12abf2df650c43cb821d36a13246baacb.zip
hostap-848905b12abf2df650c43cb821d36a13246baacb.tar.gz
hostap-848905b12abf2df650c43cb821d36a13246baacb.tar.bz2
Avoid undefined references with CONFIG_WPA_TRACE_BFD=y
libdl, libiberty, and libzlib are dependencies for libbfd. Signed-off-by: Roger Zanoni <roger.zanoni@openbossa.org>
Diffstat (limited to 'wpa_supplicant/Makefile')
-rw-r--r--wpa_supplicant/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile
index 496f6fb..d01b18f 100644
--- a/wpa_supplicant/Makefile
+++ b/wpa_supplicant/Makefile
@@ -107,9 +107,9 @@ LDFLAGS += -rdynamic
CFLAGS += -funwind-tables
ifdef CONFIG_WPA_TRACE_BFD
CFLAGS += -DPACKAGE="wpa_supplicant" -DWPA_TRACE_BFD
-LIBS += -lbfd
-LIBS_p += -lbfd
-LIBS_c += -lbfd
+LIBS += -lbfd -ldl -liberty -lz
+LIBS_p += -lbfd -ldl -liberty -lz
+LIBS_c += -lbfd -ldl -liberty -lz
endif
endif