[PATCH] Use LDFLAGS when linking hostapd terminal object

Bjarke Istrup Pedersen gurli
Tue Feb 2 14:32:37 PST 2010


Are you sure they aren't being read from the environment?

I submitted a patch some months ago, that added support for LDFLAGS, so they
should be working by now...

2010/2/2 Philip A. Prindeville <philipp_subx at redfish-solutions.com>

> LDFLAGS (which are frequently essential to cross-compilation) aren't
> being used when doing hostapd's terminal link.
>
> --- hostapd-0.6.10/hostapd/Makefile.orig        2010-01-12
> 06:55:02.000000000 -0800
> +++ hostapd-0.6.10/hostapd/Makefile     2010-01-31 21:09:47.000000000 -0800
> @@ -580,7 +580,7 @@ install: all
>        for i in $(ALL); do cp $$i /usr/local/bin/$$i; done
>  hostapd: $(OBJS)
> -       $(CC) -o hostapd $(OBJS) $(LIBS)
> +       $(CC) -o hostapd $(OBJS) $(LDFLAGS) $(LIBS)
>  OBJS_c = hostapd_cli.o ../src/common/wpa_ctrl.o
> ../src/utils/os_$(CONFIG_OS).o
>  hostapd_cli: $(OBJS_c)
>
>
> _______________________________________________
> HostAP mailing list
> HostAP at lists.shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20100202/0bd38ae4/attachment.htm 



More information about the Hostap mailing list