summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <sven.wegener@stealer.net>2016-01-24 12:34:47 +0100
committerSven Wegener <sven.wegener@stealer.net>2023-03-05 11:10:35 +0100
commit3ab9ac6394cdc04fa11a589e17f03d4a812a4379 (patch)
tree6af3046ea73dc48f5b959a2d1f675b96d9ca901f
parentf6e8f14315a0fcc057bdaac3d7c4be522f650d34 (diff)
Makefile: Install libipvs when dynamic linkingbuildfixup
Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
-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)