diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2021-07-01 12:15:49 +0200 |
---|---|---|
committer | Chun-wei Fan <fanchunwei@src.gnome.org> | 2021-07-09 10:35:20 +0800 |
commit | 14cd906206ecf8ba5e3a7817952ab3b64ec306a2 (patch) | |
tree | 3852a92963b38d9c5b78680175486a460e1032b8 | |
parent | 5b30a878fa359ab2fbc2be041baa47054b3e036a (diff) | |
download | librsvg-14cd906206ecf8ba5e3a7817952ab3b64ec306a2.tar.gz |
Update to use cargo-c 0.9
-rw-r--r-- | Cargo.toml | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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" |