summaryrefslogtreecommitdiff
blob: 791e39d877443d313cfb3c1665b1911c79ee908e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
For example, pow() from mathlib is used directly in src/ffmpeg2theora.c:

<snip>
v = pow(v, g) * 255.0;    // mplayer's vf_eq2.c multiplies with 256 here, strange...
</snip>

For build failure and log, see Gentoo bug #504698

--- a/SConstruct
+++ b/SConstruct
@@ -206,9 +206,8 @@
   if env['crossmingw']:
       env.Append(CCFLAGS=['-Wl,-subsystem,windows'])
       env.Append(LIBS=['m'])
-  elif env['static']:
-      env.Append(LIBS=['m', 'dl'])
 
+  env.Append(LIBS=['m', 'dl'])
 
 env = conf.Finish()