2012-01-04 15:10:27 +00:00
|
|
|
diff --git a/pppd/Makefile.linux b/pppd/Makefile.linux
|
2020-03-06 22:33:06 +00:00
|
|
|
index 9664f70..d07e01e 100644
|
2012-01-04 15:10:27 +00:00
|
|
|
--- a/pppd/Makefile.linux
|
|
|
|
+++ b/pppd/Makefile.linux
|
2020-03-06 22:33:06 +00:00
|
|
|
@@ -125,7 +125,7 @@ CFLAGS += -DHAS_SHADOW
|
2012-01-04 15:10:27 +00:00
|
|
|
#LIBS += -lshadow $(LIBS)
|
|
|
|
endif
|
|
|
|
|
2020-03-06 22:33:06 +00:00
|
|
|
-ifneq ($(wildcard $(shell $(CC) --print-sysroot)/usr/include/crypt.h),)
|
2012-01-04 15:10:27 +00:00
|
|
|
+ifneq ($(wildcard @glibc@/include/crypt.h),)
|
|
|
|
CFLAGS += -DHAVE_CRYPT_H=1
|
2020-03-06 22:33:06 +00:00
|
|
|
LIBS += -lcrypt
|
2012-01-04 15:10:27 +00:00
|
|
|
endif
|
2020-03-06 22:33:06 +00:00
|
|
|
@@ -137,7 +137,7 @@ endif
|
2020-01-08 08:03:22 +00:00
|
|
|
|
|
|
|
ifdef NEEDDES
|
|
|
|
ifndef USE_CRYPT
|
2020-03-06 22:33:06 +00:00
|
|
|
-CFLAGS += -I$(shell $(CC) --print-sysroot)/usr/include/openssl
|
2020-01-08 08:03:22 +00:00
|
|
|
+CFLAGS += -I@openssl@/include/openssl
|
|
|
|
LIBS += -lcrypto
|
|
|
|
else
|
|
|
|
CFLAGS += -DUSE_CRYPT=1
|
2020-03-06 22:33:06 +00:00
|
|
|
@@ -188,7 +188,7 @@ LIBS += -ldl
|
2012-01-04 15:10:27 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifdef FILTER
|
|
|
|
-ifneq ($(wildcard /usr/include/pcap-bpf.h),)
|
|
|
|
+ifneq ($(wildcard @libpcap@/include/pcap-bpf.h),)
|
|
|
|
LIBS += -lpcap
|
|
|
|
CFLAGS += -DPPP_FILTER
|
|
|
|
endif
|