X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2FMakefile.linux;h=853b15c14be42703aa5ff203da287ded9209794a;hb=41a73232c16e9a063cfe3fad461c94af3f450f6c;hp=12a986e4cfedbee7b89f8a18e8ee505292b65d0e;hpb=4e713175eae56cb863b39bc19d377f95a35823a8;p=ppp.git diff --git a/pppd/Makefile.linux b/pppd/Makefile.linux index 12a986e..853b15c 100644 --- a/pppd/Makefile.linux +++ b/pppd/Makefile.linux @@ -99,6 +99,7 @@ CFLAGS += -DMSLANMAN=1 endif ifdef MPPE CFLAGS += -DMPPE=1 +HEADERS += mppe.h endif endif @@ -125,7 +126,7 @@ CFLAGS += -DHAS_SHADOW #LIBS += -lshadow $(LIBS) endif -ifneq ($(wildcard $(shell $CC --print-sysroot)/usr/include/crypt.h),) +ifneq ($(wildcard $(shell $(CC) --print-sysroot)/usr/include/crypt.h),) CFLAGS += -DHAVE_CRYPT_H=1 LIBS += -lcrypt endif @@ -137,7 +138,7 @@ endif ifdef NEEDDES ifndef USE_CRYPT -CFLAGS += -I$(shell $CC --print-sysroot)/usr/include/openssl +CFLAGS += -I$(shell $(CC) --print-sysroot)/usr/include/openssl LIBS += -lcrypto else CFLAGS += -DUSE_CRYPT=1