Skip to content

Instantly share code, notes, and snippets.

@orlandov
Created March 31, 2010 00:37
Show Gist options
  • Select an option

  • Save orlandov/349794 to your computer and use it in GitHub Desktop.

Select an option

Save orlandov/349794 to your computer and use it in GitHub Desktop.
diff --git a/wscript b/wscript
index 5ba9853..aad7bfd 100644
--- a/wscript
+++ b/wscript
@@ -13,8 +13,9 @@ def set_options(opt):
def configure(conf):
conf.check_tool("compiler_cxx")
conf.check_tool("node_addon")
- if not conf.check_cfg(package='sqlite3', args='--cflags --libs', uselib_store='SQLITE3'):
- conf.fatal('Missing sqlite3');
+ if conf.check_cfg(package='sqlite3', args='--cflags --libs', uselib_store='SQLITE3'):
+ if not conf.check(lib="sqlite3", uselib_store="SQLITE3"):
+ conf.fatal('Missing sqlite3');
# conf.check_cfg(package='profiler', args='--cflags --libs', uselib_store='SQLITE3')
# conf.env.append_value('LIBPATH_PROFILER', '/usr/local/lib')
# conf.env.append_value('LIB_PROFILER', 'profiler')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment