fix non gui build

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3921 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
tmator
2009-08-01 18:31:25 +00:00
parent 69c0613160
commit 1e9bb4ed9a
7 changed files with 33 additions and 18 deletions

View File

@ -31,9 +31,15 @@ if env['HAVE_WX']:
]
lleenv = env.Clone()
lleenv.Append(
CXXFLAGS = [ '-fPIC' ],
LIBS = [ 'dspcore', 'audiocommon', 'common', 'debugger_ui_util' ],
)
if env['HAVE_WX']:
lleenv.Append(
CXXFLAGS = [ '-fPIC' ],
LIBS = [ 'dspcore', 'audiocommon', 'common', 'debugger_ui_util' ],
)
else:
lleenv.Append(
CXXFLAGS = [ '-fPIC' ],
LIBS = [ 'dspcore', 'audiocommon', 'common' ],
)
lleenv.SharedLibrary(env['plugin_dir']+name, files)

View File

@ -318,9 +318,9 @@ void Initialize(void *init)
g_Config.Load();
g_Config.GameIniLoad();
g_Config.UpdateProjectionHack();
#if defined(HAVE_WX) && HAVE_WX
g_Config.UpdateProjectionHack();
//Enable support for PNG screenshots.
wxImage::AddHandler( new wxPNGHandler );
#endif

View File

@ -261,7 +261,9 @@ void SendReportCoreAccelIr10Ext(u16 _channelID)
}
else if(g_Config.iExtensionConnected == EXT_GUITARHERO3_CONTROLLER)
{
#if defined(HAVE_WX) && HAVE_WX
FillReportGuitarHero3Extension(_GH3_ext);
#endif
memcpy(&pReport->ext, &_GH3_ext, sizeof(_GH3_ext));
}