mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 18:28:23 -05:00
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>
This commit is contained in:
parent
9e38836427
commit
848905b12a
@ -78,9 +78,9 @@ LDFLAGS += -rdynamic
|
|||||||
CFLAGS += -funwind-tables
|
CFLAGS += -funwind-tables
|
||||||
ifdef CONFIG_WPA_TRACE_BFD
|
ifdef CONFIG_WPA_TRACE_BFD
|
||||||
CFLAGS += -DPACKAGE="hostapd" -DWPA_TRACE_BFD
|
CFLAGS += -DPACKAGE="hostapd" -DWPA_TRACE_BFD
|
||||||
LIBS += -lbfd
|
LIBS += -lbfd -ldl -liberty -lz
|
||||||
LIBS_c += -lbfd
|
LIBS_c += -lbfd -ldl -liberty -lz
|
||||||
LIBS_h += -lbfd
|
LIBS_h += -lbfd -ldl -liberty -lz
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -107,9 +107,9 @@ LDFLAGS += -rdynamic
|
|||||||
CFLAGS += -funwind-tables
|
CFLAGS += -funwind-tables
|
||||||
ifdef CONFIG_WPA_TRACE_BFD
|
ifdef CONFIG_WPA_TRACE_BFD
|
||||||
CFLAGS += -DPACKAGE="wpa_supplicant" -DWPA_TRACE_BFD
|
CFLAGS += -DPACKAGE="wpa_supplicant" -DWPA_TRACE_BFD
|
||||||
LIBS += -lbfd
|
LIBS += -lbfd -ldl -liberty -lz
|
||||||
LIBS_p += -lbfd
|
LIBS_p += -lbfd -ldl -liberty -lz
|
||||||
LIBS_c += -lbfd
|
LIBS_c += -lbfd -ldl -liberty -lz
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user