[PATCH mesa/mesa] Check for dladdr(), rather than assuming we have it if we have RTLD_DEFAULT

Jon TURNEY jon.turney at dronecode.org.uk
Mon Apr 7 10:10:09 PDT 2014

On 07/04/2014 17:07, Eric Anholt wrote:
> Jon TURNEY writes:
>> Unfortunately, Cygwin defines RTLD_DEFAULT (for glibc compatibility), but can't
>> provide dladdr(), so add a check for dladdr()
> This patch is:
> Reviewed-by: Eric Anholt <eric-WhKQ6XTQaPysTnJN9+BGXg at public.gmane.org>
> I'm confused why you'd be building DRI driver code on cygwin, but it
> probably helps DRI driver portability to other things that do have DRI.

I still need to be able to load swrast_dri.so on cygwin, which is in some
sense a 'DRI driver' even if it doesn't use DRM. :)

Sorry for sending this to the wrong list.

More information about the xorg-devel mailing list