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
2 changed files with 6 additions and 6 deletions
|
@ -78,9 +78,9 @@ LDFLAGS += -rdynamic
|
|||
CFLAGS += -funwind-tables
|
||||
ifdef CONFIG_WPA_TRACE_BFD
|
||||
CFLAGS += -DPACKAGE="hostapd" -DWPA_TRACE_BFD
|
||||
LIBS += -lbfd
|
||||
LIBS_c += -lbfd
|
||||
LIBS_h += -lbfd
|
||||
LIBS += -lbfd -ldl -liberty -lz
|
||||
LIBS_c += -lbfd -ldl -liberty -lz
|
||||
LIBS_h += -lbfd -ldl -liberty -lz
|
||||
endif
|
||||
endif
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue