Re: [sysvinit-devel] [PATCH] Makefile: detect dynamic libcrypt

2014-01-25 Thread Petter Reinholdtsen
[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.

[sysvinit-devel] [PATCH] Makefile: detect dynamic libcrypt

2013-12-07 Thread 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. Signed-off-by: Andrew Gregory --- src/Makef