Created
March 31, 2010 00:37
-
-
Save orlandov/349794 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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