ppp: 2.4.7 -> 2.4.8
This commit is contained in:
@@ -1,26 +1,26 @@
|
||||
diff --git a/pppd/Makefile.linux b/pppd/Makefile.linux
|
||||
index 1ebebec..bf90c62 100644
|
||||
index 9664f70..d07e01e 100644
|
||||
--- a/pppd/Makefile.linux
|
||||
+++ b/pppd/Makefile.linux
|
||||
@@ -120,7 +120,7 @@ CFLAGS += -DHAS_SHADOW
|
||||
@@ -125,7 +125,7 @@ CFLAGS += -DHAS_SHADOW
|
||||
#LIBS += -lshadow $(LIBS)
|
||||
endif
|
||||
|
||||
-ifneq ($(wildcard /usr/include/crypt.h),)
|
||||
-ifneq ($(wildcard $(shell $(CC) --print-sysroot)/usr/include/crypt.h),)
|
||||
+ifneq ($(wildcard @glibc@/include/crypt.h),)
|
||||
CFLAGS += -DHAVE_CRYPT_H=1
|
||||
LIBS += -lcrypt
|
||||
LIBS += -lcrypt
|
||||
endif
|
||||
@@ -132,7 +132,7 @@ endif
|
||||
@@ -137,7 +137,7 @@ endif
|
||||
|
||||
ifdef NEEDDES
|
||||
ifndef USE_CRYPT
|
||||
-CFLAGS += -I/usr/include/openssl
|
||||
-CFLAGS += -I$(shell $(CC) --print-sysroot)/usr/include/openssl
|
||||
+CFLAGS += -I@openssl@/include/openssl
|
||||
LIBS += -lcrypto
|
||||
else
|
||||
CFLAGS += -DUSE_CRYPT=1
|
||||
@@ -178,7 +178,7 @@ LIBS += -ldl
|
||||
@@ -188,7 +188,7 @@ LIBS += -ldl
|
||||
endif
|
||||
|
||||
ifdef FILTER
|
||||
|
||||
Reference in New Issue
Block a user