[xiph-commits] r16522 - trunk/theora/examples

giles at svn.xiph.org giles at svn.xiph.org
Fri Aug 28 01:42:36 PDT 2009


Author: giles
Date: 2009-08-28 01:42:36 -0700 (Fri, 28 Aug 2009)
New Revision: 16522

Modified:
   trunk/theora/examples/Makefile.am
Log:
Link the two encoding examles with the math library for rint().

This is redundant for encoder_example, since the vorbis libs
already bring in -lm, but it's better to have consistent references.


Modified: trunk/theora/examples/Makefile.am
===================================================================
--- trunk/theora/examples/Makefile.am	2009-08-26 14:52:33 UTC (rev 16521)
+++ trunk/theora/examples/Makefile.am	2009-08-28 08:42:36 UTC (rev 16522)
@@ -27,11 +27,11 @@
 encoder_example_SOURCES = encoder_example.c
 EXTRA_encoder_example_SOURCES = getopt.c getopt1.c getopt.h
 encoder_example_CFLAGS = $(OGG_CFLAGS) $(VORBIS_CFLAGS)
-encoder_example_LDADD = $(GETOPT_OBJS) $(LDADDENC) $(VORBIS_LIBS) $(VORBISENC_LIBS)
+encoder_example_LDADD = $(GETOPT_OBJS) $(LDADDENC) $(VORBIS_LIBS) $(VORBISENC_LIBS) -lm
 
 png2theora_SOURCES = png2theora.c
 png2theora_CFLAGS = $(OGG_CFLAGS) $(PNG_CFLAGS)
-png2theora_LDADD = $(GETOPT_OBJS) $(LDADDENC) $(PNG_LIBS)
+png2theora_LDADD = $(GETOPT_OBJS) $(LDADDENC) $(PNG_LIBS) -lm
 
 debug:
 	$(MAKE) all CFLAGS="@DEBUG@"



More information about the commits mailing list