[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Optional shared libraries system



On Tue, Feb 17, 2015 at 2:52 AM, Josh Triplett wrote:

> You can do something very similar with weak symbols.  You don't even
> need to use dlopen to test for their existence; you can just test the
> symbol directly to check for NULL, or you can supply your own version
> that'll be used if you don't have the shared library.  You do still have
> to load the library yourself, though, at which point you might as well
> use that as the "did I find it" test.

glibc upstream pointed me at these threads:

https://sourceware.org/ml/libc-help/2013-02/msg00017.html
http://comments.gmane.org/gmane.comp.handhelds.tizen.devel/4892

-- 
bye,
pabs

https://wiki.debian.org/PaulWise


Reply to: