rust/clib: build both cdylib and staticlib
For applications wishing to embed libnmstate without having to distribute all its dependencies, it is useful to build the static library alongside the dynamic one. Signed-off-by: Antoni Segura Puimedon <antoni@redhat.com>
This commit is contained in:
parent
79ec306895
commit
c5561e9b68
@ -9,7 +9,7 @@ edition = "2018"
|
||||
[lib]
|
||||
name = "nmstate"
|
||||
path = "lib.rs"
|
||||
crate-type = ["cdylib"]
|
||||
crate-type = ["cdylib", "staticlib"]
|
||||
|
||||
[dependencies]
|
||||
nmstate = { path = "../lib" }
|
||||
|
Loading…
x
Reference in New Issue
Block a user