summaryrefslogtreecommitdiffstats
path: root/test-tool
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2010-08-25 11:53:00 +0100
committerRichard Jones <rjones@redhat.com>2010-08-25 17:22:54 +0100
commita0d514f13d3334b79745d7d1f90a6ac615afa7c2 (patch)
tree98965e8dbd8363c7add46e57fc4f91ada2a5a7b7 /test-tool
parent27ef6f9171127afd248f38d280cf3d0eae51fdaf (diff)
downloadlibguestfs-a0d514f13d3334b79745d7d1f90a6ac615afa7c2.tar.gz
libguestfs-a0d514f13d3334b79745d7d1f90a6ac615afa7c2.tar.xz
libguestfs-a0d514f13d3334b79745d7d1f90a6ac615afa7c2.zip
Include statically linked binaries in the binary distribution.
Diffstat (limited to 'test-tool')
-rw-r--r--test-tool/Makefile.am6
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 \