move FST/winegcc thing around even more to avoid breaking OS X build
authorPaul Davis <paul@linuxaudiosystems.com>
Tue, 24 Mar 2009 00:59:33 +0000 (00:59 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Tue, 24 Mar 2009 00:59:33 +0000 (00:59 +0000)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4887 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/fst/SConscript

index a0522c0b0ae27625e69825ddca152f314e104b2d..9dc84c5148cfe4274d2cf781628dc05226aea2c3 100644 (file)
@@ -15,8 +15,6 @@ fst.Merge ([
         libraries['glib2']
         ])
 
-fst.Replace(CC = ("winegcc"))
-
 #
 # See if JACK supports jack_set_thread_creator()
 #
@@ -52,12 +50,12 @@ if conf.CheckJackSetThreadCreator():
 fst = conf.Finish ()
 
 if fst['VST']:
+    fst.Replace(CC = ("winegcc"))
     a = fst.Object ('fst', 'fst.c')
     b = fst.Object ('fstinfofile', 'fstinfofile.c')
     c = fst.Object ('vstwin', 'vstwin.c')
     d = fst.Object ('vsti', 'vsti.c')
     e = fst.Object ('thread', 'thread.c')
-
     Default([a,b,c,d,e])
     
 env.Alias('tarball', env.Distribute (env['DISTTREE'],