[Andrew Gregory] > Even though the libcrypt detection was looking for libcrypt.a, sulogin > was being linked against libcrypt dynamically anyway because -static was > not used. Using libcrypt.a failed to find libcrypt on systems without > static libs, causing compiler errors.
Right. Make sense. I extended it a bit to also work with the Debian multiarch system, and commited it upstream. Should make it into the next release. -- Happy hacking Petter Reinholdtsen