On 14 Jun 2012, Darrell Anderson outgrape:
- if os.uname()[4] in ['x86_64','mips64','ppc64','sparc64','s390x']:
return 'lib64'
- else: return 'lib'
This is distro-specific. A significant number of distros (even those not using multiarch) put 64-bit libraries into lib/ and 32-bit libraries into lib32/.
Can't you use a configure- or cmake-driven libdir here? That'll always be right.