binary: Link guestmount static binary with -lm.
authorRichard W.M. Jones <rjones@redhat.com>
Tue, 2 Nov 2010 17:05:58 +0000 (17:05 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Tue, 2 Nov 2010 17:05:58 +0000 (17:05 +0000)
This is indirectly required via the new shared guestfish
C inspection code by libxml2.

fuse/Makefile.am

index a122082..f6f662a 100644 (file)
@@ -57,7 +57,7 @@ guestmount_LDADD = \
 
 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
+       $(guestmount_LINK) $(guestmount_OBJECTS) -static $(guestmount_LDADD) $(guestmount_LIBS) -lpcre -lhivex -lmagic -lz -lm
 
 # Documentation.