summaryrefslogtreecommitdiff
path: root/multimedia/ffmpeg2theora/files/patch-SConstruct
blob: 9d37ce376f6b99876732feaad2c7912885f4dae3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- SConstruct.orig	2012-06-26 02:15:16.000000000 +0900
+++ SConstruct	2012-07-04 01:17:19.000000000 +0900
@@ -37,7 +37,7 @@
   BoolVariable('libkate', 'enable libkate support', 1),
   BoolVariable('crossmingw', 'Set to 1 for crosscompile with mingw', 0)
 )
-env = Environment(options = opts)
+env = Environment(options = opts, CC = Split(os.environ['CC']), CCFLAGS = Split(os.environ['CCFLAGS']))
 Help(opts.GenerateHelpText(env))
 
 pkg_flags="--cflags --libs"
@@ -151,7 +151,6 @@
       "libavcodec >= 52.30.0",
       "libpostproc",
       "libswscale",
-      "libswresample",
       "libavutil",
   ]
   if os.path.exists("./ffmpeg"):