From a0d514f13d3334b79745d7d1f90a6ac615afa7c2 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Wed, 25 Aug 2010 11:53:00 +0100 Subject: Include statically linked binaries in the binary distribution. --- fuse/Makefile.am | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'fuse') diff --git a/fuse/Makefile.am b/fuse/Makefile.am index 1bfc3755..db0e418e 100644 --- a/fuse/Makefile.am +++ b/fuse/Makefile.am @@ -42,6 +42,12 @@ guestmount_LDADD = \ $(top_builddir)/src/libguestfs.la \ ../gnulib/lib/libgnu.la +# Build a partly-static library (for the binary distribution). + +guestmount.static$(EXEEXT): $(guestmount_OBJECTS) $(guestmount_DEPENDENCIES) + $(top_srcdir)/relink-static.sh \ + $(guestmount_LINK) $(guestmount_OBJECTS) -static $(guestmount_LDADD) $(guestmount_LIBS) -lpcre -lhivex -lmagic -lz + # Documentation. man_MANS = guestmount.1 -- cgit