diff --git a/wscript b/wscript index c9be4f3..6d4b23d 100644 --- a/wscript +++ b/wscript @@ -4,9 +4,11 @@ def options(opt): def configure(conf): conf.load("compiler_cxx") conf.check(header_name = "getopt.h") + conf.check_cfg(package = "ruby", args = "--cflags --libs", uselib_store = "ruby") def build(bld): bld(features = "cxx cxxprogram", target = "svi", source = bld.path.ant_glob("src/**/*.cc"), - cxxflags = ["-Wall", "-std=gnu++14"]) + cxxflags = ["-Wall", "-std=gnu++14"], + uselib = ["ruby"])