]> git.ipfire.org Git - thirdparty/libnl.git/commitdiff
Explicitely link to nl-route when linking nf apps.
authorThomas Graf <tgr@plip.localdomain>
Mon, 18 Aug 2008 23:35:01 +0000 (01:35 +0200)
committerThomas Graf <tgr@plip.localdomain>
Mon, 18 Aug 2008 23:35:01 +0000 (01:35 +0200)
ld won't resolve its own deps in -L../lib/ for some
reason.

src/Makefile

index 55ee339b498403ef22f0752e90247ff0907e592b..827754e0100c0dc183fd900ce3ded8c99ee85276 100644 (file)
@@ -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"; \