diff options
Diffstat (limited to 'contrib/fwd/src/Makefile')
-rw-r--r-- | contrib/fwd/src/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/fwd/src/Makefile b/contrib/fwd/src/Makefile index 3a7736d54..89efd7b06 100644 --- a/contrib/fwd/src/Makefile +++ b/contrib/fwd/src/Makefile @@ -1,13 +1,14 @@ CFLAGS := -g -Wall -I./uci -I./iptables-1.4.5/include -LDFLAGS := -luci -liptc -L./iptables-1.4.5/libiptc/.libs +LDFLAGS := -luci -liptc -lxtables -ldl -L./iptables-1.4.5/libiptc/.libs -L./iptables-1.4.5/.libs -Wl,--export-dynamic fwd: $(CC) $(CFLAGS) -c -o ucix.o ucix.c $(CC) $(CFLAGS) -c -o fwd_addr.o fwd_addr.c $(CC) $(CFLAGS) -c -o fwd_rules.o fwd_rules.c $(CC) $(CFLAGS) -c -o fwd_config.o fwd_config.c + $(CC) $(CFLAGS) -c -o fwd_xtables.o fwd_xtables.c $(CC) $(CFLAGS) -c -o fwd.o fwd.c - $(CC) $(LDFLAGS) -o fwd fwd.o fwd_addr.o fwd_rules.o fwd_config.o ucix.o + $(CC) $(LDFLAGS) -o fwd fwd.o fwd_addr.o fwd_rules.o fwd_config.o fwd_xtables.o ucix.o clean: rm -f *~ fwd *.o |