scons: MacOSX build fixes.
This commit is contained in:
+2
-4
@@ -208,12 +208,10 @@ def pkg_use_modules(env, names):
|
||||
prefix = name + '_'
|
||||
|
||||
if not 'HAVE_' + name in env:
|
||||
print 'Attempt to use unknown module %s' % name
|
||||
env.Exit(1)
|
||||
raise Exception('Attempt to use unknown module %s' % name)
|
||||
|
||||
if not env['HAVE_' + name]:
|
||||
print 'Attempt to use unavailable module %s' % name
|
||||
env.Exit(1)
|
||||
raise Exception('Attempt to use unavailable module %s' % name)
|
||||
|
||||
flags = {}
|
||||
for flag_name, flag_value in env.Dictionary().iteritems():
|
||||
|
||||
+4
-3
@@ -22,9 +22,10 @@ SConscript('mesa/SConscript')
|
||||
SConscript('mapi/vgapi/SConscript')
|
||||
|
||||
if not env['embedded']:
|
||||
SConscript('glx/SConscript')
|
||||
SConscript('egl/main/SConscript')
|
||||
SConscript('glu/sgi/SConscript')
|
||||
if env['platform'] not in ['windows', 'darwin']:
|
||||
SConscript('glx/SConscript')
|
||||
SConscript('egl/main/SConscript')
|
||||
SConscript('glu/sgi/SConscript')
|
||||
|
||||
if env['gles']:
|
||||
SConscript('mapi/shared-glapi/SConscript')
|
||||
|
||||
@@ -55,7 +55,8 @@ SConscript('winsys/sw/null/SConscript')
|
||||
|
||||
if not env['embedded']:
|
||||
SConscript('state_trackers/vega/SConscript')
|
||||
SConscript('state_trackers/egl/SConscript')
|
||||
if env['platform'] not in ['darwin']:
|
||||
SConscript('state_trackers/egl/SConscript')
|
||||
|
||||
if env['x11']:
|
||||
SConscript('state_trackers/glx/xlib/SConscript')
|
||||
@@ -84,9 +85,10 @@ SConscript([
|
||||
])
|
||||
|
||||
if not env['embedded']:
|
||||
SConscript([
|
||||
'targets/egl-static/SConscript'
|
||||
])
|
||||
if env['platform'] not in ['darwin']:
|
||||
SConscript([
|
||||
'targets/egl-static/SConscript'
|
||||
])
|
||||
|
||||
if env['x11']:
|
||||
SConscript([
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
Import('*')
|
||||
|
||||
if env['platform'] == 'windows':
|
||||
Return()
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
env.Prepend(CPPPATH = [
|
||||
|
||||
Reference in New Issue
Block a user