summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
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 $<