ppp: fix building pptp plugin
authorJo-Philipp Wich <jo@mein.io>
Tue, 17 Jul 2018 18:21:39 +0000 (20:21 +0200)
committerJo-Philipp Wich <jo@mein.io>
Tue, 18 Dec 2018 16:32:20 +0000 (17:32 +0100)
commit8daebe63968a74663058d8796e6883dc7a7a2bb6
tree25f0539792724dc475ba89778dd6488135705f76
parent77d321c7fa8c7cbddbd6a8a3319008d78dbbfcd0
ppp: fix building pptp plugin

The pptp.so plugin needs to be built with -fPIC as well in order to be
linkable again.

Fixes 888a15ff83 ("ppp: add missing -fPIC to rp-pppoe.so CFLAGS")
Fixes e7397eef69 ("ppp: compile with LTO enabled")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(backported from 9019323ec1109d636b6e2ca9fe991dce45635f96)
package/network/services/ppp/Makefile
package/network/services/ppp/patches/511-pptp_cflags.patch [new file with mode: 0644]