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 /audio | |
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 'audio')
-rw-r--r-- | audio/audiofx/Cargo.toml | 2 | ||||
-rw-r--r-- | audio/claxon/Cargo.toml | 2 | ||||
-rw-r--r-- | audio/csound/Cargo.toml | 2 | ||||
-rw-r--r-- | audio/lewton/Cargo.toml | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/audio/audiofx/Cargo.toml b/audio/audiofx/Cargo.toml index 85dd5fa93..6a264e0f9 100644 --- a/audio/audiofx/Cargo.toml +++ b/audio/audiofx/Cargo.toml @@ -20,7 +20,7 @@ nnnoiseless = { version = "0.3", default-features = false } [lib] name = "gstrsaudiofx" -crate-type = ["cdylib", "rlib"] +crate-type = ["cdylib", "rlib", "staticlib"] path = "src/lib.rs" [dev-dependencies] diff --git a/audio/claxon/Cargo.toml b/audio/claxon/Cargo.toml index 149af82ca..2f8101c0d 100644 --- a/audio/claxon/Cargo.toml +++ b/audio/claxon/Cargo.toml @@ -18,7 +18,7 @@ atomic_refcell = "0.1" [lib] name = "gstclaxon" -crate-type = ["cdylib", "rlib"] +crate-type = ["cdylib", "rlib", "staticlib"] path = "src/lib.rs" [build-dependencies] diff --git a/audio/csound/Cargo.toml b/audio/csound/Cargo.toml index 034ea4cf1..0ef87902b 100644 --- a/audio/csound/Cargo.toml +++ b/audio/csound/Cargo.toml @@ -19,7 +19,7 @@ byte-slice-cast = "1.0" [lib] name = "gstcsound" -crate-type = ["cdylib", "rlib"] +crate-type = ["cdylib", "rlib", "staticlib"] path = "src/lib.rs" [[example]] diff --git a/audio/lewton/Cargo.toml b/audio/lewton/Cargo.toml index 1e5cef57f..444c9e7d3 100644 --- a/audio/lewton/Cargo.toml +++ b/audio/lewton/Cargo.toml @@ -19,7 +19,7 @@ lazy_static = "1.0" [lib] name = "gstlewton" -crate-type = ["cdylib", "rlib"] +crate-type = ["cdylib", "rlib", "staticlib"] path = "src/lib.rs" [build-dependencies] |