From: Thomas Graf Date: Mon, 18 Aug 2008 23:35:01 +0000 (+0200) Subject: Explicitely link to nl-route when linking nf apps. X-Git-Tag: libnl2_0~65 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b310cbb7b6d1f48411d3ee72b48b7103ee2267eb;p=thirdparty%2Flibnl.git Explicitely link to nl-route when linking nf apps. ld won't resolve its own deps in -L../lib/ for some reason. --- diff --git a/src/Makefile b/src/Makefile index 55ee339..827754e 100644 --- a/src/Makefile +++ b/src/Makefile @@ -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"; \