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 /text | |
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 'text')
-rw-r--r-- | text/wrap/Cargo.toml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/text/wrap/Cargo.toml b/text/wrap/Cargo.toml index 594e1855..20ae8cfb 100644 --- a/text/wrap/Cargo.toml +++ b/text/wrap/Cargo.toml @@ -20,7 +20,7 @@ package="gstreamer" [lib] name = "gstrstextwrap" -crate-type = ["cdylib", "rlib"] +crate-type = ["cdylib", "rlib", "staticlib"] path = "src/lib.rs" [build-dependencies] |