diff options
author | Emeric Dupont <emeric.dupont@zii.aero> | 2018-12-03 12:13:06 +0100 |
---|---|---|
committer | Stephen Hemminger <stephen@networkplumber.org> | 2018-12-04 14:27:08 -0800 |
commit | a7a7e4501732bcdb6004271f12beda358ab4f463 (patch) | |
tree | fed13749fd8ca3e0b9b16df82a18f9088286ca81 /tipc | |
parent | f3188cfa392afdbacb171a367641504850645ea4 (diff) |
iproute2: Installation errors without libmnl
When performing make install in iproute2 (current git master),
if $(HAVE_MNL) is not selected, some Makefiles try to call
install with an empty target, which causes a non-critical make error.
Signed-off-by: Emeric Dupont <emeric.dupont@zii.aero>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Diffstat (limited to 'tipc')
-rw-r--r-- | tipc/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tipc/Makefile b/tipc/Makefile index fdb18d39..a10debe0 100644 --- a/tipc/Makefile +++ b/tipc/Makefile @@ -22,7 +22,9 @@ tipc: $(TIPCOBJ) $(QUIET_LINK)$(CC) $^ $(LDFLAGS) $(LDLIBS) -o $@ install: all - install -m 0755 $(TARGETS) $(DESTDIR)$(SBINDIR) + for i in $(TARGETS); \ + do install -m 0755 $$i $(DESTDIR)$(SBINDIR); \ + done clean: rm -f $(TIPCOBJ) $(TARGETS) |