1Upstream-Status: Pending
2
3--- openl2tp-1.8/Makefile.orig	2016-09-16 14:54:18.554291976 +0200
4+++ openl2tp-1.8/Makefile	2016-09-16 14:57:23.559090400 +0200
5@@ -157,8 +157,8 @@ ADD_CFLAGS=			-I. -Iusl -Icli -isystem i
6 				-MMD -Wall -Wno-strict-aliasing \
7 				$(ADD_CPPFLAGS) $(CPPFLAGS.dmalloc) \
8 				-DSYS_LIBDIR=$(SYS_LIBDIR)
9-LDFLAGS.l2tpd=		-Wl,-E -L. -Lusl -lusl -ldl $(LIBS.dmalloc) -lc
10-LDFLAGS.l2tpconfig=	-Lcli -lcli -lreadline $(LIBS.dmalloc) $(READLINE_LDFLAGS) -lc
11+LDFLAGS.l2tpd=		-Wl,-E -L. -Lusl -lusl -ldl $(LIBS.dmalloc) -lc $(LDFLAGS)
12+LDFLAGS.l2tpconfig=	-Lcli -lcli -lreadline $(LIBS.dmalloc) $(READLINE_LDFLAGS) -lc $(LDFLAGS)
13
14 OPT_CFLAGS?=		-O
15
16