blob: b9511f088e38150f0a5c7c01c9173b5dafe35d2f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# 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.88dsf/src/Makefile
===================================================================
--- sysvinit-2.88dsf.orig/src/Makefile
+++ sysvinit-2.88dsf/src/Makefile
@@ -85,9 +85,13 @@ else
endif
# Additional libs for GNU libc.
+ifneq ($(LCRYPT),)
+ SULOGINLIBS += $(LCRYPT)
+else
ifneq ($(wildcard /usr/lib*/libcrypt.a),)
SULOGINLIBS += -lcrypt
endif
+endif
all: $(BIN) $(SBIN) $(USRBIN)
|