summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/ppp/ppp/makefix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-connectivity/ppp/ppp/makefix.patch')
-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