aboutsummaryrefslogtreecommitdiff
blob: c19062708bf2f092e46bcf58456d7e373a1497d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/usr/Makefile b/usr/Makefile
index c1866b6..2990060 100644
--- a/usr/Makefile
+++ b/usr/Makefile
@@ -61,7 +61,7 @@ iscsiadm: $(ISCSI_LIB_SRCS) $(DISCOVERY_SRCS) iscsiadm.o session_mgmt.o mntcheck
 
 iscsistart: $(ISCSI_LIB_SRCS) $(INITIATOR_SRCS) $(FW_BOOT_SRCS) \
 		iscsistart.o statics.o
-	$(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@ -lrt
+	$(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@ -static -lrt
 clean:
 	rm -f *.o $(PROGRAMS) .depend $(LIBSYS)