summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-03-24 15:33:00 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-03-24 15:33:30 +0100
commit75a5d13ed136ececf397d9ca0947024d226091c3 (patch)
treeaf046358ecc2cd02f945097cca8ac34773ef1ffc
parentaa00a9646292f6950fc3d2a8d7d11f02a9815a8e (diff)
downloadNPTv6-75a5d13ed136ececf397d9ca0947024d226091c3.tar
NPTv6-75a5d13ed136ececf397d9ca0947024d226091c3.zip
Link iptables extenstions with libxtablescompat
-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 $<