On 14 June 2012 11:51, Nix <nix@...> wrote: > 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. 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) Calvin