forked from dolphin-emu/dolphin
		
	and just operate on lists of object files instead. This helps with LTO since LLVM/clang LTO is completely broken by static libraries. It also helps identify symbol clashes between components like the former plugins. Many linkers also expect static libraries to form a strict DAG which turns out be a difficult rule to uphold in practice, especially since some of our platforms aren't picky about this. LTO builds currently appears to crash at runtime because of the static wx libs. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7056 8ced0084-cf51-0410-be5f-012b33b47a6e
		
			
				
	
	
		
			30 lines
		
	
	
		
			626 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			626 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| # -*- python -*-
 | |
| 
 | |
| Import('env')
 | |
| import sys
 | |
| 
 | |
| files = [
 | |
| 	'AudioCommonConfig.cpp',
 | |
| 	'WaveFile.cpp',
 | |
| 	'Mixer.cpp',
 | |
| 	'AudioCommon.cpp',
 | |
| 	'NullSoundStream.cpp',
 | |
| 	]
 | |
| 
 | |
| if sys.platform == 'darwin':
 | |
| 	files += [ 'CoreAudioSoundStream.cpp' ]
 | |
| else:
 | |
| 	if env['HAVE_ALSA']:
 | |
| 		files += [ 'AlsaSoundStream.cpp' ]
 | |
| 	if env['HAVE_AO']:
 | |
| 		files += [ 'AOSoundStream.cpp' ]
 | |
| 	if env['HAVE_OPENAL']:
 | |
| 		files += [ 'OpenALStream.cpp', 'aldlist.cpp' ]
 | |
| 	if env['HAVE_PULSEAUDIO']:
 | |
| 		files += [ 'PulseAudioStream.cpp' ]
 | |
| 	if sys.platform == 'win32':
 | |
| 		files += [ 'DSoundStream.cpp' ]
 | |
| 		files += [ 'XAudio2Stream.cpp' ]
 | |
| 
 | |
| env['LIBS'] += env.StaticObject(files)
 |