From ca5560e626761c4a7600b329d044bf2f3aa53938 Mon Sep 17 00:00:00 2001 From: obarthel Date: Mon, 30 Jan 2012 11:21:16 +0100 Subject: [PATCH] Now finds the GIF/JPEG support libraries if built using Mac OS X and MacPorts --- wscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wscript b/wscript index 22ef16a..073281b 100644 --- a/wscript +++ b/wscript @@ -17,10 +17,10 @@ def configure(conf): conf.check_tool('node_addon') 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') - 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') if conf.env['USE_PROFILING'] == True: