From 75a5d13ed136ececf397d9ca0947024d226091c3 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sun, 24 Mar 2013 15:33:00 +0100 Subject: Link iptables extenstions with libxtables --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 780901b..91f5016 100644 --- a/Makefile +++ b/Makefile @@ -11,10 +11,10 @@ module: $(MAKE) -C $(KPATH) M=$(PWD) modules libip6t_SNPTV6.so: libip6t_SNPTV6.o libip6t_NPTV6.o - gcc -shared -o $@ $^ + gcc -shared -o $@ $^ -lxtables libip6t_DNPTV6.so: libip6t_DNPTV6.o libip6t_NPTV6.o - gcc -shared -o $@ $^ + gcc -shared -o $@ $^ -lxtables libip6t_NPTV6.o: libip6t_NPTV6.c libip6t_NPTV6.h ip6t_NPTV6.h Makefile gcc $(CFLAGS) -D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_REENTRANT -Werror -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Winline -pipe -DXTABLES_LIBDIR=\"/usr/lib/iptables\" -DPIC -fPIC -g -O2 -o $@ -c $< -- cgit v1.2.3