[SCM] Samba Shared Repository - branch master updated

Matthieu Patou mat at samba.org
Sat Dec 11 01:43:24 MST 2010

On 11/12/2010 01:54, Jelmer Vernooij wrote:
> On Fri, 2010-12-10 at 22:35 +0100, Matthieu Patou wrote:
>> commit 6875a611a71bf6d1623fc62361fc8b145b1f6559
>> Author: Matthieu Patou<mat at matws.net>
>> Date:   Fri Dec 10 23:16:28 2010 +0300
>>      build: add a function to test if -lc is needed
>>      This is needed on openbsd as some linking flags makes mandatory to
>>      specify the libc for the linking
> Urgh, there is something seriously broken if a C compiler doesn't link
> to libc by default (I can understand a -nostdlib option). Is this
> default OpenBSD behaviour or something specific to this host?
Hard to know I don't have other boxes but both openbsd boxes in the farm 
show this problem, also note that this problem appear when we have all 
the linkers flags not when you do a mere gcc -o libtoto.so toto.o 
-shared -L/usr/local/include -liconv


More information about the samba-technical mailing list