[xiph-commits] r17369 - trunk/ffmpeg2theora

j at svn.xiph.org j at svn.xiph.org
Wed Aug 25 10:18:56 PDT 2010


Author: j
Date: 2010-08-25 10:18:55 -0700 (Wed, 25 Aug 2010)
New Revision: 17369

Modified:
   trunk/ffmpeg2theora/SConstruct
Log:
tune windows build

Modified: trunk/ffmpeg2theora/SConstruct
===================================================================
--- trunk/ffmpeg2theora/SConstruct	2010-08-23 17:30:08 UTC (rev 17368)
+++ trunk/ffmpeg2theora/SConstruct	2010-08-25 17:18:55 UTC (rev 17369)
@@ -183,7 +183,10 @@
     if conf.CheckLib('iconv'):
         env.Append(LIBS=['iconv'])
 
-if env['static']:
+if env['crossmingw']:
+    env.Append(CCFLAGS=['-Wl,-subsystem,windows'])
+    env.Append(LIBS=['m'])
+elif env['static']:
     env.Append(LIBS=['m', 'dl'])
 
 env = conf.Finish()



More information about the commits mailing list