[PATCH 2/2] Avoid undefined references with CONFIG_WPA_TRACE_BFD set

Jouni Malinen j
Thu Feb 20 06:28:28 PST 2014


On Wed, Feb 19, 2014 at 03:46:11PM -0400, Roger Zanoni wrote:
> libdl, libberty and libzlib are dependencies for libbfd.

Thanks, applied. Was there supposed to be a patch 1/2 as well?

> diff --git a/hostapd/Makefile b/hostapd/Makefile
> @@ -78,9 +78,9 @@ LDFLAGS += -rdynamic
>  override CFLAGS += -funwind-tables
>  ifdef CONFIG_WPA_TRACE_BFD
>  override CFLAGS += -DPACKAGE="hostapd" -DWPA_TRACE_BFD
> -LIBS += -lbfd

These "override " parts for CFLAGS do not exist in hostap.git, so I'm
assuming something is missing before this patch. Anyway, I did apply
this as-is with those conflicts resolved manually.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list