Skip to content

Commit

Permalink
Now finds the GIF/JPEG support libraries if built using Mac OS X and …
Browse files Browse the repository at this point in the history
…MacPorts
  • Loading branch information
obarthel authored and tj committed Jan 31, 2012
1 parent 323e24b commit ca5560e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wscript
Expand Up @@ -17,10 +17,10 @@ def configure(conf):
conf.check_tool('node_addon') conf.check_tool('node_addon')
conf.env.append_value('CPPFLAGS', '-DNDEBUG') conf.env.append_value('CPPFLAGS', '-DNDEBUG')


if conf.check(lib='gif', libpath=['/lib', '/usr/lib', '/usr/local/lib'], uselib_store='GIF', mandatory=False): if conf.check(lib='gif', libpath=['/lib', '/usr/lib', '/usr/local/lib', '/opt/local/lib'], uselib_store='GIF', mandatory=False):
conf.env.append_value('CPPFLAGS', '-DHAVE_GIF=1') conf.env.append_value('CPPFLAGS', '-DHAVE_GIF=1')


if conf.check(lib='jpeg', libpath=['/lib', '/usr/lib', '/usr/local/lib'], uselib_store='JPEG', mandatory=False): if conf.check(lib='jpeg', libpath=['/lib', '/usr/lib', '/usr/local/lib', '/opt/local/lib'], uselib_store='JPEG', mandatory=False):
conf.env.append_value('CPPFLAGS', '-DHAVE_JPEG=1') conf.env.append_value('CPPFLAGS', '-DHAVE_JPEG=1')


if conf.env['USE_PROFILING'] == True: if conf.env['USE_PROFILING'] == True:
Expand Down

0 comments on commit ca5560e

Please sign in to comment.