libxcb-xlib.la failures when building X11 with libxcb-1.2
Donnie Berkholz
dberkholz at gentoo.org
Tue Mar 17 17:22:26 PDT 2009
On 23:26 Tue 17 Mar , Beso wrote:
> fgrep -rZl /usr/lib/libxcb-xlib.la /usr/lib* /usr/kde/*/lib* | xargs
> -0 sed -i -e 's:/usr/lib/libxcb-xlib.la::g'
Here's the bashlet I'm testing for Gentoo. It reads through
/etc/ld.so.conf to get library directories in hopes of doing a better
job of finding them all than a hard-coded list does:
while read line; do
if [[ -d ${line} ]]; then
sed -i \
-e "s:[^[:space:]]*libxcb-xlib.la::g" \
"${line}"/*.la 2>/dev/null
fi
done < /etc/ld.so.conf
--
Thanks,
Donnie
Donnie Berkholz
X team lead, Gentoo Linux
Blog: http://dberkholz.wordpress.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20090317/efe4605e/attachment.pgp>
More information about the xorg
mailing list