td_clua_ext 0.1.0

extend for Lua 5.3
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
extern crate pkg_config;
extern crate gcc;

fn main() {
    match pkg_config::find_library("lua5.2") {
        Ok(_) => return,
        Err(..) => {}
    };

    gcc::Config::new()
        .file("cjson/fpconv.c")
        .file("cjson/lua_cjson.c")
        .file("cjson/strbuf.c")
        .include("cjson")
        .include("include")
        .compile("libluaext.a");
}