summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2014-08-01 21:40:18 +1000
committerPaul Mackerras <paulus@samba.org>2014-08-01 21:40:18 +1000
commit2b05e22c62095e97dd0a97e4b5588402c2185071 (patch)
treeee4260fa59d4b5fdd5053e649b03fc2b652113f9
parent36733a891fb56594fcee580f667b33a64b990981 (diff)
downloadppp-2b05e22c62095e97dd0a97e4b5588402c2185071.tar.gz
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 <floppym@gentoo.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
-rw-r--r--pppd/plugins/Makefile.linux7
1 files changed, 7 insertions, 0 deletions
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