On Fri, Mar 12, 2010 at 6:48 AM, Jeff Smith <whydo...@yahoo.com> wrote:
>> This change:
>>
>> commit d888bbc45a84946cafb4f4d2c89681a580cd89bc
>> Author: Brian Paul <bri...@vmware.com>
>> Date:   Tue Nov 17 13:39:13 2009 -0700
>>
>>    progs/xdemos: added -lX11 -lpthread for GNU gold linker
>>
>> breaks the build if you are building under a specific path prefix
>> (say, /opt/XORG) and you have an existing X11 installation in the
>> usual location (/usr, etc.)
>
> I found the same problem and sent a patch to this list a few hours ago to 
> address it:
>
> "[PATCH] Add -L$(libdir) for xdemos and egl so that the right libX11 is found"

That's not really the right thing, though. You're assuming that I have
libX11 in the same libdir as I'm installing to and I want to use it.
The fact is that configure uses pkg-config to check for x11 and other
libraries needed to link the demos. It certainly was working before
without requiring hardcoding things into the Makefiles.

--
Dan

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to