[PATCH] wcap: Imported vpxenc.c uses maths symbols so add -lm to LDFLAGS

Rob Bradford rob at robster.org.uk
Tue May 29 03:31:56 PDT 2012


From: Rob Bradford <rob at linux.intel.com>

---
 wcap/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/wcap/Makefile.am b/wcap/Makefile.am
index 7dca7e9..df46735 100644
--- a/wcap/Makefile.am
+++ b/wcap/Makefile.am
@@ -19,7 +19,7 @@ wcap_decode_SOURCES =				\
 
 wcap_decode_CPPFLAGS = -DCONFIG_VP8_ENCODER=1
 wcap_decode_CFLAGS = $(WCAP_CFLAGS)
-wcap_decode_LDADD = $(WCAP_LIBS)
+wcap_decode_LDADD = $(WCAP_LIBS) -lm
 
 wcap_snapshot_SOURCES =				\
 	wcap-snapshot.c				\
-- 
1.7.7.6



More information about the wayland-devel mailing list