summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 9d6262b..4082441 100644
--- a/Makefile
+++ b/Makefile
@@ -97,6 +97,9 @@ ipvsadm: $(OBJS) | libs
$(CC) $(CFLAGS) -o $@ $^ $(LIBS)
install: all
+ifneq ($(STATIC),1)
+ $(MAKE) -C libipvs install DESTDIR=$(BUILD_ROOT)
+endif
if [ ! -d $(SBIN) ]; then $(MKDIR) -p $(SBIN); fi
$(INSTALL) -m 0755 ipvsadm $(SBIN)
$(INSTALL) -m 0755 ipvsadm-save $(SBIN)