[PATCH] Could be -DSHARED not defined when building libc.so.0

Carmelo Amoroso carmelo73 at gmail.com
Wed Jul 12 11:46:49 UTC 2006


Hi All,

looking into libc/Makefile.in,
I suspect that some files could be built without the SHARED macro
defined; the files suffix for objects producing a DSO should be oS. So
according to Makerules, each of them will be compiled with -DSHARED (
and -DPIC)

... taken from libc/Makefile.in...

ifeq ($(DOMULTI),n)
libc-so-y = $(libc-y:.o=.os) $(libc-shared-y)
else

I attached a simple patch

Carmelo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libc_makefile.in.patch
Type: application/octet-stream
Size: 383 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20060712/6a28c3ce/attachment.obj 


More information about the uClibc mailing list