Missed some stuff

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4300 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Sonicadvance1 2009-09-18 20:04:54 +00:00
parent ced92d8544
commit 0d9543030b
2 changed files with 5 additions and 4 deletions

View file

@ -41,5 +41,6 @@ else:
CXXFLAGS = [ '-fPIC' ],
LIBS = [ 'dspcore', 'audiocommon', 'common' ],
)
lleenv['FRAMEWORKS'] = ['CoreFoundation', 'System']
if sys.platform == 'darwin':
lleenv['FRAMEWORKS'] = ['CoreFoundation', 'System']
lleenv.SharedLibrary(env['plugin_dir']+name, files)

View file

@ -61,11 +61,12 @@ conf = gfxenv.Configure(custom_tests = tests,
config_h=env['base_dir']+"Source/Core/Common/Src/Config.h")
if sys.platform == 'darwin':
gfxenv['FRAMEWORKS'] = ['CoreFoundation', 'System', 'OpenGL', 'Cocoa', 'Cg']
conf.CheckPKG('OpenGL')
if not conf.CheckPKG('Cg'):
print name + " must have Cg framework from nvidia to be build"
#Return()
Return()
elif sys.platform == 'win32':
print name + " is assuming that you have opengl, glu, cg, and cggl"
@ -107,7 +108,6 @@ conf.Finish()
if gfxenv['USE_WX'] and not gfxenv['HAVE_WX']:
print "Must have wx to use wxgl"
Return()
gfxenv['FRAMEWORKS'] = ['CoreFoundation', 'System', 'OpenGL', 'Cocoa', 'Cg']
gfxenv.Append(
CXXFLAGS = compileFlags,
LINKFLAGS = linkFlags,