[PATCH] Add libidn/idn-stub-static.c

H.J. Lu hjl.tools@gmail.com
Tue Oct 9 22:01:00 GMT 2012


On Tue, Oct 9, 2012 at 2:11 PM, Roland McGrath <roland@hack.frob.com> wrote:
> Why is that needed?  A static build still has libdl.a and so forth.
> It should just fail to find any DSO at runtime.

idn-stub.c has

#include <ctype.h>
#include <stdio.h>
#include <string.h>
#include <dlfcn.h>
#include <gnu/lib-names.h>

But lib-names.h doesn't define LIBCIDN_SO since DSO
is disabled.  My patch provides a dummy one without
loading DSO.

-- 
H.J.



More information about the Libc-alpha mailing list