require ruby development package
This commit is contained in:
parent
f7102c1c7f
commit
4a16e49672
4
wscript
4
wscript
@ -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"])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user