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>
Fri, 5 Nov 2010 14:18:07 +0000 (14:18 +0000)
This is indirectly required via the new shared guestfish
C inspection code by libxml2.
(cherry picked from commit 47d158596140328e12aa3b8028a77dd40bf12eeb)

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.