The following used to fail:
./configure --prefix=/tmp/libiscsi
make install
This was because DESTDIR was unconditionally used in Makefile.in.
Instead, use the prefix from ./configure unless overriden by DESTDIR
and/or LIBDIR.
Note that this commit drops ldconfig from the Makefile but I'm not sure
this is wanted outside of packaging anyway.
Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
ld_iscsi.so is a small LD_PRELOAD hack that can be used to make normal
unix utilities such as 'stat' and 'cat' become iSCSI 'aware' and fake
handling an iSCSI URL as a normal read-only file.
See README for examples.