summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/ppp
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-01-09 09:06:18 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-01-09 09:09:50 +0000
commit83cddc021267dd2a5c745dc61eb99f28d4ff3f4d (patch)
treed3fd188216e913249eceffd37e22f45f5cdec763 /meta/recipes-connectivity/ppp
parentc56cafbc9b0bc53d5ebd49243c338c2a86a4a8a8 (diff)
downloadpoky-83cddc021267dd2a5c745dc61eb99f28d4ff3f4d.tar.gz
ppp: Fix patch typo
(From OE-Core rev: c138c8df3aadecfca5ea72d3e66b9bc359c5a8fd) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/ppp')
-rw-r--r--meta/recipes-connectivity/ppp/ppp/makefix.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/ppp/ppp/makefix.patch b/meta/recipes-connectivity/ppp/ppp/makefix.patch
index 9471df32e9..fce068cae0 100644
--- a/meta/recipes-connectivity/ppp/ppp/makefix.patch
+++ b/meta/recipes-connectivity/ppp/ppp/makefix.patch
@@ -33,7 +33,7 @@ Index: ppp-2.4.9/pppd/Makefile.linux
33 endif 33 endif
34 34
35-ifeq ($(shell echo '\#include <crypt.h>' | $(CC) -E - >/dev/null 2>&1 && echo yes),yes) 35-ifeq ($(shell echo '\#include <crypt.h>' | $(CC) -E - >/dev/null 2>&1 && echo yes),yes)
36+CRYPTHEADER = "\#include <utmp.h>" 36+CRYPTHEADER = "\#include <crypt.h>"
37+ifeq ($(shell echo $(CRYPTHEADER) | $(CC) -E - >/dev/null 2>&1 && echo yes),yes) 37+ifeq ($(shell echo $(CRYPTHEADER) | $(CC) -E - >/dev/null 2>&1 && echo yes),yes)
38 CFLAGS += -DHAVE_CRYPT_H=1 38 CFLAGS += -DHAVE_CRYPT_H=1
39 LIBS += -lcrypt 39 LIBS += -lcrypt