summaryrefslogtreecommitdiff
path: root/packages/iscsi-target/files/libs.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/iscsi-target/files/libs.patch')
-rw-r--r--packages/iscsi-target/files/libs.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/iscsi-target/files/libs.patch b/packages/iscsi-target/files/libs.patch
new file mode 100644
index 0000000000..5108027cc4
--- /dev/null
+++ b/packages/iscsi-target/files/libs.patch
@@ -0,0 +1,11 @@
+diff -urN iscsitarget-0.4.15/usr/Makefile iscsitarget-0.4.15.new/usr/Makefile
+--- iscsitarget-0.4.15/usr/Makefile 2006-07-03 14:09:30.000000000 +0000
++++ iscsitarget-0.4.15.new/usr/Makefile 2007-07-29 23:16:45.000000000 +0000
+@@ -1,6 +1,6 @@
+ CFLAGS += -O2 -fno-inline -Wall -Wstrict-prototypes -g -I../include
+ PROGRAMS = ietd ietadm
+-LIBS = -lcrypto
++LIBS = -lcrypto $(LDFLAGS)
+
+ all: $(PROGRAMS)
+