aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'patches/iscsi/2.0.875/open-iscsi-2.0.875-static-iscsistart.patch')
-rw-r--r--patches/iscsi/2.0.875/open-iscsi-2.0.875-static-iscsistart.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/patches/iscsi/2.0.875/open-iscsi-2.0.875-static-iscsistart.patch b/patches/iscsi/2.0.875/open-iscsi-2.0.875-static-iscsistart.patch
new file mode 100644
index 0000000..c190627
--- /dev/null
+++ b/patches/iscsi/2.0.875/open-iscsi-2.0.875-static-iscsistart.patch
@@ -0,0 +1,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)
+