[xiph-commits] r17753 - trunk/theora

giles at svn.xiph.org giles at svn.xiph.org
Mon Dec 13 10:38:40 PST 2010


Author: giles
Date: 2010-12-13 10:38:40 -0800 (Mon, 13 Dec 2010)
New Revision: 17753

Modified:
   trunk/theora/SConstruct
Log:
Update SConstruct to pass -lm when building with collect_metrics=1.

Modified: trunk/theora/SConstruct
===================================================================
--- trunk/theora/SConstruct	2010-12-13 15:20:34 UTC (rev 17752)
+++ trunk/theora/SConstruct	2010-12-13 18:38:40 UTC (rev 17753)
@@ -51,6 +51,7 @@
 collect_metrics = ARGUMENTS.get('collect_metrics', 0)
 if int(collect_metrics):
   env.Append(CPPDEFINES=['OC_COLLECT_METRICS'])
+  env.Append(LIBS=['m'])
 
 def CheckPKGConfig(context, version): 
   context.Message( 'Checking for pkg-config... ' ) 



More information about the commits mailing list