diff options
Diffstat (limited to 'test-tool/Makefile.am')
-rw-r--r-- | test-tool/Makefile.am | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test-tool/Makefile.am b/test-tool/Makefile.am index 66d06e09..0f030889 100644 --- a/test-tool/Makefile.am +++ b/test-tool/Makefile.am @@ -39,6 +39,12 @@ libguestfs_test_tool_LDADD = \ libguestfs_test_tool_helper_SOURCES = helper.c libguestfs_test_tool_helper_LDFLAGS = -all-static +# Build a partly-static library (for the binary distribution). + +libguestfs-test-tool.static$(EXEEXT): $(libguestfs_test_tool_OBJECTS) $(libguestfs_test_tool_DEPENDENCIES) + $(top_srcdir)/relink-static.sh \ + $(libguestfs_test_tool_LINK) $(libguestfs_test_tool_OBJECTS) -static $(libguestfs_test_tool_LDADD) $(libguestfs_test_tool_LIBS) -lpcre -lhivex -lmagic -lz + libguestfs-test-tool.1: libguestfs-test-tool.pod $(POD2MAN) \ --section 1 \ |