diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.com> | 2020-11-16 17:23:51 +0300 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.com> | 2020-11-16 17:30:32 +0300 |
commit | b9f8ce999538aa1a8880a8e41202b9e70f514e71 (patch) | |
tree | d17e40f13e35a42c28a343afdb30af1cdbe54c38 /generic/threadshare/Cargo.toml | |
parent | 717477fd36f00c5f1b8dbb64ec4dadc602d5fc22 (diff) |
meson: add support for static build
There is no way to dynamically ask Cargo to build static or dynamic lib
so we have to build both and pick the one we care when doing the meson
processing.
Fix #88
Diffstat (limited to 'generic/threadshare/Cargo.toml')
-rw-r--r-- | generic/threadshare/Cargo.toml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/threadshare/Cargo.toml b/generic/threadshare/Cargo.toml index 1c8da3c45..531225689 100644 --- a/generic/threadshare/Cargo.toml +++ b/generic/threadshare/Cargo.toml @@ -36,7 +36,7 @@ socket2 = { version = "0.3", features = ["reuseport"] } [lib] name = "gstthreadshare" -crate-type = ["cdylib", "rlib"] +crate-type = ["cdylib", "rlib", "staticlib"] path = "src/lib.rs" [[example]] |