forked from dolphin-emu/dolphin
		
	Fix up so that various libraries wont be fatal for build with scons wiiuse lib is used only if HAVE_WIIUSE is defined to 1 made major cleanup for darwin and osx64 git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1404 8ced0084-cf51-0410-be5f-012b33b47a6e
		
			
				
	
	
		
			25 lines
		
	
	
		
			364 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			364 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| # -*- python -*- 
 | |
| 
 | |
| Import('env')
 | |
| import sys
 | |
| 
 | |
| name = "Plugin_nJoy_SDL"
 | |
| 
 | |
| if not env['HAVE_SDL']:
 | |
|     print name + " must have SDL to be build"
 | |
|     Return()
 | |
| 
 | |
| files = [
 | |
| 	'nJoy.cpp',
 | |
| 	'GUI/AboutBox.cpp',
 | |
| 	'GUI/ConfigBox.cpp',
 | |
| 	]
 | |
| 
 | |
| padenv = env.Clone()
 | |
| padenv.Append(
 | |
| 	CXXFLAGS = [ '-fPIC' ],
 | |
| 	LIBS = [ 'common' ],
 | |
| 	)
 | |
| 
 | |
| padenv.SharedLibrary(env['plugin_dir']+name, files)
 |