require ruby development package

This commit is contained in:
Josh Holtrop 2018-01-25 14:10:33 -05:00
parent f7102c1c7f
commit 4a16e49672

View File

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