Patchwork sysvinit: fix linking of sulogin with -lcrypt

login
register
mail settings
Submitter Arnout Vandecappelle
Date March 13, 2013, 12:05 a.m.
Message ID <1363133138-32481-1-git-send-email-arnout@mind.be>
Download mbox | patch
Permalink /patch/227132/
State Accepted
Commit f5e3178197ff17b9f4a4c2ecb6d32b72a38a1246
Headers show

Comments

Arnout Vandecappelle - March 13, 2013, 12:05 a.m.
From: "Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be>

The LCRYPT variable is no longer used; use SULOGINLIBS instead.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
 package/sysvinit/sysvinit.mk |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Peter Korsgaard - April 14, 2013, 9:22 p.m.
>>>>> "Arnout" == Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> writes:

 Arnout> From: "Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be>
 Arnout> The LCRYPT variable is no longer used; use SULOGINLIBS instead.

Committed, thanks.

Patch

diff --git a/package/sysvinit/sysvinit.mk b/package/sysvinit/sysvinit.mk
index 10feb96..606c33e 100644
--- a/package/sysvinit/sysvinit.mk
+++ b/package/sysvinit/sysvinit.mk
@@ -24,7 +24,7 @@  SYSVINIT_POST_PATCH_HOOKS = SYSVINIT_DEBIAN_PATCHES
 define SYSVINIT_BUILD_CMDS
 	# Force sysvinit to link against libcrypt as it otherwise
 	# use an incorrect test to see if it's available
-	$(MAKE) $(TARGET_CONFIGURE_OPTS) LCRYPT="-lcrypt" -C $(@D)/src
+	$(MAKE) $(TARGET_CONFIGURE_OPTS) SULOGINLIBS="-lcrypt" -C $(@D)/src
 endef
 
 define SYSVINIT_INSTALL_TARGET_CMDS