open-iscsi/open-iscsi-2.0_873-slp.patch

31 lines
1.3 KiB
Diff

--- open-iscsi-2.0-872.orig/utils/open-isns/configure.ac
+++ open-iscsi-2.0-872/utils/open-isns/configure.ac
@@ -79,7 +79,7 @@ AC_ARG_WITH(slp,
WITH_SLP=$withval
else
WITH_SLP=yes
- CPPFLAGS="$CPPFLAGS -I${withval}"
+ CPPFLAGS="$CPPFLAGS -I${withval} -lslp"
LDFLAGS="$LDFLAGS -L${withval}"
fi
]
diff -Nru open-iscsi-2.0-873.orig/usr/Makefile open-iscsi-2.0-873/usr/Makefile
--- open-iscsi-2.0-873.orig/usr/Makefile 2012-05-21 02:59:24.000000000 +0200
+++ open-iscsi-2.0-873/usr/Makefile 2014-06-24 02:32:04.121491125 +0200
@@ -54,10 +54,10 @@
iscsid: $(ISCSI_LIB_SRCS) $(INITIATOR_SRCS) $(DISCOVERY_SRCS) \
iscsid.o session_mgmt.o discoveryd.o
- $(CC) $(CFLAGS) $^ -o $@ -L../utils/open-isns -lisns
+ $(CC) $(CFLAGS) $^ -o $@ -L../utils/open-isns -lisns -lslp
iscsiadm: $(ISCSI_LIB_SRCS) $(DISCOVERY_SRCS) iscsiadm.o session_mgmt.o
- $(CC) $(CFLAGS) $^ -o $@ -L../utils/open-isns -lisns
+ $(CC) $(CFLAGS) $^ -o $@ -L../utils/open-isns -lisns -lslp
iscsistart: $(ISCSI_LIB_SRCS) $(INITIATOR_SRCS) $(FW_BOOT_SRCS) \
iscsistart.o statics.o
Binary files open-iscsi-2.0-873.orig/utils/iscsi-iname and open-iscsi-2.0-873/utils/iscsi-iname differ
Binary files open-iscsi-2.0-873.orig/utils/iscsi-iname.o and open-iscsi-2.0-873/utils/iscsi-iname.o differ
Binary files open-iscsi-2.0-873.orig/utils/md5.o and open-iscsi-2.0-873/utils/md5.o differ