1.10 and 1.11 both introduced incompatible changes to the libiscsi ABI. Please do not do that, and feel free to Cc me on any patch that touches include/. In the meanwhile, bump the soname of the library. I suggest releasing 1.11.1 with this change for distros. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
28 lines
639 B
Makefile
28 lines
639 B
Makefile
lib_LTLIBRARIES = libiscsi.la
|
|
|
|
libiscsi_la_SOURCES = \
|
|
connect.c crc32c.c discovery.c init.c \
|
|
login.c nop.c pdu.c iscsi-command.c \
|
|
scsi-lowlevel.c socket.c sync.c task_mgmt.c \
|
|
logging.c
|
|
|
|
if !HAVE_LIBGCRYPT
|
|
libiscsi_la_SOURCES += md5.c
|
|
endif
|
|
|
|
SOCURRENT=4
|
|
SOREVISON=11
|
|
SOAGE=0
|
|
libiscsi_la_LDFLAGS = \
|
|
-version-info $(SOCURRENT):$(SOREVISON):$(SOAGE) -bindir $(bindir) \
|
|
-no-undefined -export-symbols libiscsi.syms
|
|
|
|
libiscsi_la_CPPFLAGS = -I../include -I$(srcdir)/include \
|
|
"-D_U_=__attribute__((unused))" \
|
|
"-D_R_(A,B)=__attribute__((format(printf,A,B)))"
|
|
|
|
AM_CFLAGS=$(WARN_CFLAGS)
|
|
|
|
dist_noinst_DATA = libiscsi.syms libiscsi.def
|
|
|