- 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.
Yes, archlinux does this.
It seems to make sense to only use /lib64 or lib32 when that is not the native arch. ( you wouldn't say /bin32 if you're on a 32 bit system)
Okay, so we need to allow the old patch for some distros and remove the patch for others. Would one of you two create a proper patch for the problem? One that allows supporting all distros?
Darrell