sdl: add link to libgd project download page in readme

sdl: note optional libgd dependency in readme
scons: fix logic for LOGO and CREATE_AVI options
This commit is contained in:
punkrockguy318 2015-03-15 18:53:06 +00:00
parent aae0c7dd45
commit 6f75a23de7
2 changed files with 2 additions and 1 deletions

View File

@ -25,6 +25,7 @@ Table of Contents
* libgtk2.0 (optional) - version >= 2.24 recommended
* libgtk3.0 (optional) - this compiles as of fceux 2.2.0
* liblua5.1 (optional)
* libgd (optional) - required for LOGO and CREATE_AVI options (https://bitbucket.org/libgd/gd-libgd/downloads)
* minizip (optional) - you may chose to use the version of minizip on your system by enabling SYSTEM_MINIZIP in the SConstruct
* c++ compiler -- you may use g++ from gcc or clang++ from llvm.

View File

@ -159,7 +159,7 @@ else:
env.Append(LINKFLAGS=['-Wl,--as-needed'])
### Search for gd if we're not in Windows
if env['PLATFORM'] != 'win32' and env['PLATFORM'] != 'cygwin' and env['CREATE_AVI'] and env['LOGO']:
if (env['PLATFORM'] != 'win32' and env['PLATFORM'] != 'cygwin') and (env['CREATE_AVI'] or env['LOGO']):
gd = conf.CheckLib('gd', autoadd=1)
if gd == 0:
env['LOGO'] = 0