comparison trunk/SConstruct @ 299:57e6c567461c

-Got rid of unnecesary dependencies again
author tomwalters
date Tue, 23 Feb 2010 21:52:58 +0000
parents 35a8fbf4ff82
children ed91095d9240
comparison
equal deleted inserted replaced
298:35a8fbf4ff82 299:57e6c567461c
127 # env.AppendUnique(MACOSX_DEPLOYMENT_TARGET = ['10.4']) 127 # env.AppendUnique(MACOSX_DEPLOYMENT_TARGET = ['10.4'])
128 # env.AppendUnique(GCC_VERSION = ['4.0']) 128 # env.AppendUnique(GCC_VERSION = ['4.0'])
129 # env.Replace(CC = ['gcc-4.0']) 129 # env.Replace(CC = ['gcc-4.0'])
130 # env.Replace(CXX = ['gcc-4.0']) 130 # env.Replace(CXX = ['gcc-4.0'])
131 # env.AppendUnique(CPPFLAGS = ['-fno-stack-protector','-isysroot', '/Developer/SDKs/MacOSX10.5.sdk', '-mmacosx-version-min=10.4']) 131 # env.AppendUnique(CPPFLAGS = ['-fno-stack-protector','-isysroot', '/Developer/SDKs/MacOSX10.5.sdk', '-mmacosx-version-min=10.4'])
132 132 # deplibs = ['sndfile', 'flac', 'vorbis', 'vorbisenc', 'ogg']
133 if not target_platform == 'win32': 133 if not target_platform == 'win32':
134 # On windows, utf support is builtin for SimpleIni 134 # On windows, utf support is builtin for SimpleIni
135 # but not on other platforms 135 # but not on other platforms
136 sources += ['Support/ConvertUTF.c'] 136 sources += ['Support/ConvertUTF.c']
137 137
140 140
141 # Look for the sources in the correct place 141 # Look for the sources in the correct place
142 env.Append(CPPPATH = ['#src']) 142 env.Append(CPPPATH = ['#src'])
143 143
144 # Dependencies 144 # Dependencies
145 deplibs = ['sndfile', 'flac', 'vorbis', 'vorbisenc', 'ogg'] 145 deplibs = ['sndfile']
146 146
147 for depname in deplibs: 147 for depname in deplibs:
148 env.ParseConfig('pkg-config --cflags --libs ' + depname) 148 env.ParseConfig('pkg-config --cflags --libs ' + depname)
149 149
150 env.AppendUnique(LIBS = deplibs) 150 env.AppendUnique(LIBS = deplibs)