[librsvg/cargo-c-msvc: 5/10] Update to use cargo-c 0.9
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg/cargo-c-msvc: 5/10] Update to use cargo-c 0.9
- Date: Fri, 9 Jul 2021 04:42:36 +0000 (UTC)
commit 14cd906206ecf8ba5e3a7817952ab3b64ec306a2
Author: Luca Barbato <lu_zero gentoo org>
Date: Thu Jul 1 12:15:49 2021 +0200
Update to use cargo-c 0.9
Cargo.toml | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/Cargo.toml b/Cargo.toml
index 52606e5d..dff35876 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -44,8 +44,12 @@ capi = []
[package.metadata.capi.header]
# This is so cargo-c will put the correct Cflags in the .pc file, otherwise it leaves them empty
enabled = true
-generation = false
+subdirectory = "librsvg-2.0"
# For now we have hand-written .h files, so disable generation of headers
+generation = false
+
+[package.metadata.capi.install.include]
+asset = [{from = "include/**/*.h"}]
[package.metadata.capi.pkg_config]
name = "librsvg"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]