diff options
Diffstat (limited to 'meta/recipes-core/sysvinit/sysvinit/crypt-lib.patch')
-rw-r--r-- | meta/recipes-core/sysvinit/sysvinit/crypt-lib.patch | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/meta/recipes-core/sysvinit/sysvinit/crypt-lib.patch b/meta/recipes-core/sysvinit/sysvinit/crypt-lib.patch index 5c39fb001b..1ac54fb667 100644 --- a/meta/recipes-core/sysvinit/sysvinit/crypt-lib.patch +++ b/meta/recipes-core/sysvinit/sysvinit/crypt-lib.patch | |||
@@ -1,33 +1,33 @@ | |||
1 | From c3a068cf24a22bea7349849ec111ae8d91a54db4 Mon Sep 17 00:00:00 2001 | 1 | From f040b04c50d13755b2063c4db0e0be0647cf5d14 Mon Sep 17 00:00:00 2001 |
2 | From: Jeff Dike <jdike@x86_64.user-mode-linux.org> | 2 | From: Jeff Dike <jdike@x86_64.user-mode-linux.org> |
3 | Date: Wed, 14 Jul 2010 14:35:52 -0400 | 3 | Date: Wed, 14 Jul 2010 14:35:52 -0400 |
4 | Subject: [PATCH] sysvinit - Remove sulogin dependency on /usr/lib*/libcrypt.a | 4 | Subject: [PATCH] sysvinit - Remove sulogin dependency on /usr/lib*/libcrypt.a |
5 | 5 | ||
6 | Upstream-Status: Inappropriate [configuration] | 6 | The src Makefile was checking for libcrypt.a on the host, not in the |
7 | 7 | build environment. This patch checks for $LCRYPT in the environment | |
8 | # The src Makefile was checking for libcrypt.a on the host, not in the | 8 | and uses it if it's there. |
9 | # build environment. This patch checks for $LCRYPT in the environment | 9 | jdike@linux.intel.com |
10 | # and uses it if it's there. | ||
11 | # - jdike@linux.intel.com | ||
12 | 10 | ||
11 | Upstream-Status: Inappropriate [configuration] | ||
13 | --- | 12 | --- |
14 | src/Makefile | 11 ++--------- | 13 | src/Makefile | 12 ++---------- |
15 | 1 file changed, 2 insertions(+), 9 deletions(-) | 14 | 1 file changed, 2 insertions(+), 10 deletions(-) |
16 | 15 | ||
17 | diff --git a/src/Makefile b/src/Makefile | 16 | diff --git a/src/Makefile b/src/Makefile |
18 | index 5b1a5a2..b686394 100644 | 17 | index 6d9f01c..b12a233 100644 |
19 | --- a/src/Makefile | 18 | --- a/src/Makefile |
20 | +++ b/src/Makefile | 19 | +++ b/src/Makefile |
21 | @@ -97,15 +97,8 @@ else | 20 | @@ -97,16 +97,8 @@ else |
21 | SULOGINLIBS = | ||
22 | endif | 22 | endif |
23 | 23 | ||
24 | # Additional libs for GNU libc. | 24 | -# Additional libs for GNU libc. |
25 | -ifneq ($(wildcard $(ROOT)/usr/lib*/libcrypt.*),) | 25 | -ifneq ($(wildcard $(ROOT)/$(usrdir)/lib*/libcrypt.*),) |
26 | - SULOGINLIBS += -lcrypt | 26 | - SULOGINLIBS += -lcrypt |
27 | -endif | 27 | -endif |
28 | - | 28 | - |
29 | -# Additional libs for GNU libc / multiarch on Debian based systems. | 29 | -# Additional libs for GNU libc / multiarch on Debian based systems. |
30 | -ifneq ($(wildcard $(ROOT)/usr/lib/*/libcrypt.*),) | 30 | -ifneq ($(wildcard $(ROOT)/$(usrdir)/lib/*/libcrypt.*),) |
31 | -ifneq ($(findstring -lcrypt, $(SULOGINLIBS)), -lcrypt) | 31 | -ifneq ($(findstring -lcrypt, $(SULOGINLIBS)), -lcrypt) |
32 | - SULOGINLIBS += -lcrypt | 32 | - SULOGINLIBS += -lcrypt |
33 | -endif | 33 | -endif |