On Sat, Mar 19, 2011 at 22:17:38 +1000, Kel Modderman wrote:

> Further to the problem, upstream build system seems not to add '-ldl' to LIBS
> for BSD configurations. For example:
> 
> $ grep -A1 -B1 '\-ldl' wpa_supplicant/Makefile                                
>                                                           
> ifndef CONFIG_DRIVER_BSD                                                      
>                                                                               
>                               
> LIBS += -ldl                                                                  
>                                                                               
>                               
> endif                                                                         
>                                                                               
>                               
> --                                                                            
>                                                                               
>                               
> ifneq ($(CONFIG_L2_PACKET), freebsd)                                          
>                                                                               
>                               
> LIBS += -ldl                                                                  
>                                                                               
>                               
> endif
> 
> I do not know why this is the case, and I think this will come up if I was to
> push this patch upstream. There are multiple places in which this linker flag
> gets added to LIBS for non BSD configurations which is why we did not witness
> this build failure on linux before now.
> 
Some platforms have dlopen() and friends in libc, so don't need libdl.

Cheers,
Julien



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to