Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame^] | 1 | iscsi-initiator-utils not to use static |
| 2 | |
| 3 | Upstream-status: Backport |
| 4 | This patch is from fedora17. |
| 5 | |
| 6 | Signed-off-by: Yao Zhao <yao.zhao@windriver.com> |
| 7 | Signed-off-by: Vu Tran <vu.tran@windriver.com> |
| 8 | |
| 9 | diff --git a/usr/Makefile b/usr/Makefile |
| 10 | index 673b7f1..fd14a10 100644 |
| 11 | --- a/usr/Makefile |
| 12 | +++ b/usr/Makefile |
| 13 | @@ -61,7 +61,7 @@ iscsiadm: $(ISCSI_LIB_SRCS) $(DISCOVERY_SRCS) iscsiadm.o session_mgmt.o |
| 14 | |
| 15 | iscsistart: $(ISCSI_LIB_SRCS) $(INITIATOR_SRCS) $(FW_BOOT_SRCS) \ |
| 16 | iscsistart.o statics.o |
| 17 | - $(CC) $(CFLAGS) -static $^ -o $@ |
| 18 | + $(CC) $(CFLAGS) $^ -o $@ |
| 19 | clean: |
| 20 | rm -f *.o $(PROGRAMS) .depend $(LIBSYS) |
| 21 | |