ppp: Fix patch typo

(From OE-Core rev: c138c8df3aadecfca5ea72d3e66b9bc359c5a8fd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2021-01-09 09:06:18 +00:00
parent c56cafbc9b
commit 83cddc0212

View File

@@ -33,7 +33,7 @@ Index: ppp-2.4.9/pppd/Makefile.linux
endif
-ifeq ($(shell echo '\#include <crypt.h>' | $(CC) -E - >/dev/null 2>&1 && echo yes),yes)
+CRYPTHEADER = "\#include <utmp.h>"
+CRYPTHEADER = "\#include <crypt.h>"
+ifeq ($(shell echo $(CRYPTHEADER) | $(CC) -E - >/dev/null 2>&1 && echo yes),yes)
CFLAGS += -DHAVE_CRYPT_H=1
LIBS += -lcrypt