From 4a16e496723517fbe212e81cedce8681427406d8 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Thu, 25 Jan 2018 14:10:33 -0500 Subject: [PATCH] require ruby development package --- wscript | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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"])