Build system is using RPATH: ... /bin/sh ../libtool --tag=CC --mode=link gcc -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -version-info 1:0:0 -o libxcb-atom.la -rpath /usr/lib64 libxcb_atom_la-atoms.lo -lxcb ... Fedora guides suggests some way how to deal with RPATH for packagers, see https://fedoraproject.org/wiki/Packaging/Guidelines#Removing_Rpath Debian guide suggest upstream "...to add the relocatable.m4 and lib-link.m4 macros (from the gettext source) might solve it", see http://wiki.debian.org/RpathIssue
It's not really XCB's place to be trying to work around libtool. Alternate, better, build systems are available anyway. (Plus, libtool relinks at install time to remove RPATH anyway, so it's only a transient build thing ...)
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.