Skip to content

Commit

Permalink
test-tool/build: link against libiscsipriv.la
Browse files Browse the repository at this point in the history
libiscsipriv.la exposes all symbols, so allows tests to perform low
level PDU manipulation, etc. without duplicating code.
As a trade-off, this results in a larger iscsi-test-cu, with libiscsi.so
linking removed.

Link: sahlberg#297
Signed-off-by: David Disseldorp <ddiss@suse.de>
  • Loading branch information
ddiss committed Sep 17, 2019
1 parent 9c78c6d commit 2714f77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test-tool/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ AM_CPPFLAGS=-I. -I${srcdir}/../include \
"-D_U_=__attribute__((unused)) " \
"-D_R_(A,B)=__attribute__((format(printf,A,B)))"
AM_CFLAGS=$(WARN_CFLAGS)
LDADD = ../lib/libiscsi.la
LDADD = ../lib/libiscsipriv.la

EXTRA_DIST = README

Expand Down

0 comments on commit 2714f77

Please sign in to comment.