Explicitely link to nl-route when linking nf apps.
ld won't resolve its own deps in -L../lib/ for some reason.
This commit is contained in:
parent
13ab2441ce
commit
b310cbb7b6
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ genl-%: genl-%.c
|
|||
|
||||
nf-%: nf-%.c
|
||||
@echo " LD $@"; \
|
||||
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) -lnl-nf
|
||||
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) -lnl-nf -lnl-route
|
||||
|
||||
clean:
|
||||
@echo " CLEAN src"; \
|
||||
|
|
Loading…
Add table
Reference in a new issue