Fix: undefined reference to symbol 'XauGetBestAuthByAddr' when link against static version of libxcb
While trying to statically link a qt app against libxcb using qmake, I got the following error:
/usr/bin/ld: /usr/local/lib/libxcb.a(xcb_auth.o): undefined reference to symbol 'XauGetBestAuthByAddr'
/usr/bin/ld: //lib/x86_64-linux-gnu/libXau.so.6: error adding symbols: DSO missing from command line
This patch fixes it.
Edited by Roy Qu