From 2b05e22c62095e97dd0a97e4b5588402c2185071 Mon Sep 17 00:00:00 2001 From: Paul Mackerras Date: Fri, 1 Aug 2014 21:40:18 +1000 Subject: [PATCH 1/1] winbind plugin: Add -DMPPE=1 to eliminate compiler warnings When compiling the winbind plugin, we need an equivalent definition of the MPPE symbol to that which applied when the main pppd was compiled. This adds that to Makefile.linux. Reported-by: Mike Gilbert Signed-off-by: Paul Mackerras --- pppd/plugins/Makefile.linux | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pppd/plugins/Makefile.linux b/pppd/plugins/Makefile.linux index 0a7ec7b..ab8cf50 100644 --- a/pppd/plugins/Makefile.linux +++ b/pppd/plugins/Makefile.linux @@ -14,6 +14,13 @@ SUBDIRS := rp-pppoe pppoatm pppol2tp SUBDIRS += radius PLUGINS := minconn.so passprompt.so passwordfd.so winbind.so +# This setting should match the one in ../Makefile.linux +MPPE=y + +ifdef MPPE +CFLAGS += -DMPPE=1 +endif + # include dependencies if present ifeq (.depend,$(wildcard .depend)) include .depend -- 2.39.2