summaryrefslogtreecommitdiff
path: root/package/open-iscsi/patches/patch-usr_Makefile
blob: af7106fd876b636493fd4cd6e61d3753bb4ad6f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- open-iscsi-2.0-871.orig/usr/Makefile	2009-07-11 05:55:58.000000000 +0200
+++ open-iscsi-2.0-871/usr/Makefile	2010-11-22 23:23:09.000000000 +0100
@@ -1,6 +1,6 @@
 # This Makefile will work only with GNU make.
 
-OSNAME=$(shell uname -s)
+OSNAME=Linux
 
 # allow users to override these
 # eg to compile for a kernel that you aren't currently running
@@ -55,7 +55,7 @@ iscsiadm: $(COMMON_SRCS) $(FW_BOOT_SRCS)
 
 iscsistart: $(IPC_OBJ) $(ISCSI_LIB_SRCS) $(INITIATOR_SRCS) $(FW_BOOT_SRCS) \
 		iscsistart.o statics.o
-	$(CC) $(CFLAGS) -static $^ -o $@
+	$(CC) $(CFLAGS) $^ -o $@
 clean:
 	rm -f *.o $(PROGRAMS) .depend $(LIBSYS)