From 9dc9210d3d0cbef8d2bf8de75937f2dce6f1b376 Mon Sep 17 00:00:00 2001 From: Christian Blichmann Date: Wed, 31 Aug 2022 14:13:58 +0200 Subject: [PATCH] crosvm_control: Also create a static lib This is useful for projects that build in lock-step with crosvm and want to control a VM without having to `dlopen()` or embed `libcrosvm_control.so`. TEST=./tools/presubmit --quick BUG=none Change-Id: I9407c3e1783f55e399358bdf291a999ee8dc8892 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3864925 Reviewed-by: Dennis Kempin Commit-Queue: Christian Blichmann Tested-by: Christian Blichmann --- crosvm_control/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crosvm_control/Cargo.toml b/crosvm_control/Cargo.toml index bef24bfb85..1c8f3e9f23 100644 --- a/crosvm_control/Cargo.toml +++ b/crosvm_control/Cargo.toml @@ -5,7 +5,7 @@ authors = ["The Chromium OS Authors"] edition = "2021" [lib] -crate-type = ["cdylib"] +crate-type = ["cdylib", "staticlib"] [dependencies] base = { path = "../base" }