diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.com> | 2020-11-26 18:07:41 +0300 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.com> | 2021-01-04 14:26:45 +0300 |
commit | 8bc2e5ebb872612140a986897a78b37d3e52f78e (patch) | |
tree | d42da5f971f5c30f1e9deebd17c87c14b4ad96e6 /tutorial | |
parent | fc1bae347e51f08d53631ab3319cc490b6a9cca4 (diff) |
use cargo-c to produce cdy and static libs
cargo-c will produce a pkg-config file making it easier to statically
link plugins.
Also add 'static' features for plugins depending on < 1.14 as this is the
minimal required version to use static linking because of ABI changes in
core.
Diffstat (limited to 'tutorial')
-rw-r--r-- | tutorial/Cargo.toml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tutorial/Cargo.toml b/tutorial/Cargo.toml index 05074ca32..880dea6b3 100644 --- a/tutorial/Cargo.toml +++ b/tutorial/Cargo.toml @@ -19,7 +19,7 @@ once_cell = "1.0" [lib] name = "gstrstutorial" -crate-type = ["cdylib", "rlib", "staticlib"] +crate-type = ["cdylib", "rlib"] path = "src/lib.rs" [build-dependencies] |