Index: src/Makefile =================================================================== --- src/Makefile.orig +++ src/Makefile @@ -70,7 +70,7 @@ MANDIR = /usr/share/man ifeq ($(WITH_SELINUX),yes) SELINUX_DEF = -DWITH_SELINUX INITLIBS += -lsepol -lselinux - SULOGINLIBS = -lselinux + SULOGINLIBS = -lselinux else SELINUX_DEF = INITLIBS = @@ -78,7 +78,7 @@ else endif # Additional libs for GNU libc. -ifneq ($(wildcard /usr/lib*/libcrypt.a),) +ifneq ($(wildcard /usr/lib*/libcrypt.so),) SULOGINLIBS += -lcrypt endif