Compare commits
2 Commits
ca3d5f7252
...
ef837d584d
Author | SHA1 | Date |
---|---|---|
Preston Baxter | ef837d584d | |
Preston Baxter | 4675429722 |
|
@ -0,0 +1,16 @@
|
||||||
|
# mod_skel_rs
|
||||||
|
|
||||||
|
The goal of this project is to provide a way for rust to be used in the course of freeswitch plugin development
|
||||||
|
|
||||||
|
## Building
|
||||||
|
|
||||||
|
The `build.rs` attempts to link against the system `<switch.h` and `libfreeswitch.so`.
|
||||||
|
Make sure `libfreeswitch-dev` is installed on debian based systems
|
||||||
|
Or `freeswitch-devel` is installed for RHEL based systems
|
||||||
|
|
||||||
|
Most likely though none of those packages exist and you need to build freeswitch from source and run `make install`
|
||||||
|
|
||||||
|
Once freeswitch is installed on your system you can then run
|
||||||
|
|
||||||
|
`cargo build --release`
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
#![allow(non_upper_case_globals)]
|
#![allow(non_upper_case_globals)]
|
||||||
#![allow(non_camel_case_types)]
|
#![allow(non_camel_case_types)]
|
||||||
#![allow(non_snake_case)]
|
#![allow(non_snake_case)]
|
||||||
#![crate_type = "dylib"]
|
|
||||||
|
|
||||||
include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
|
include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue