Upstream-Status: Inappropriate [configuration] # The src Makefile was checking for libcrypt.a on the host, not in the # build environment. This patch checks for $LCRYPT in the environment # and uses it if it's there. # - jdike@linux.intel.com Index: sysvinit-2.96/src/Makefile =================================================================== diff --git a/src/Makefile b/src/Makefile index 9f9f09e..9ae35df 100644 --- a/src/Makefile +++ b/src/Makefile @@ -89,6 +89,10 @@ else SULOGINLIBS = endif +ifneq ($(LCRYPT),) + SULOGINLIBS += $(LCRYPT) +else + # Additional libs for GNU libc. ifneq ($(wildcard /usr/lib*/libcrypt.*),) SULOGINLIBS += -lcrypt @@ -99,6 +103,8 @@ ifneq ($(wildcard /usr/lib/*/libcrypt.*),) SULOGINLIBS += -lcrypt endif +endif + all: $(BIN) $(SBIN) $(USRBIN) #%: %.o