mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 22:23:27 +00:00
9019323ec1
The pptp.so plugin needs to be built with -fPIC as well in order to be linkable again. Fixes888a15ff83
("ppp: add missing -fPIC to rp-pppoe.so CFLAGS") Fixese7397eef69
("ppp: compile with LTO enabled") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
12 lines
530 B
Diff
12 lines
530 B
Diff
--- a/pppd/plugins/pptp/Makefile.linux
|
|
+++ b/pppd/plugins/pptp/Makefile.linux
|
|
@@ -20,7 +20,7 @@ all: pptp.so
|
|
$(CC) $(CFLAGS) -c -o $@ $<
|
|
|
|
pptp.so: dirutil.o orckit_quirks.o pptp.o pptp_callmgr.o pptp_ctrl.o pptp_quirks.o util.o vector.o
|
|
- $(CC) -o pptp.so -shared dirutil.o orckit_quirks.o pptp.o pptp_callmgr.o pptp_ctrl.o pptp_quirks.o util.o vector.o
|
|
+ $(CC) -fPIC -o pptp.so -shared dirutil.o orckit_quirks.o pptp.o pptp_callmgr.o pptp_ctrl.o pptp_quirks.o util.o vector.o
|
|
|
|
install: all
|
|
$(INSTALL) -d -m 755 $(LIBDIR)
|