This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]