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

Jouni Malinen j at w1.fi
Thu Feb 20 09:28:28 EST 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
>  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