summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2022-06-02 19:42:52 -0400
committerColin Walters <walters@verbum.org>2022-06-02 19:44:40 -0400
commit3e645ad950c3193d50ac9924ec7eba43c5df4cb5 (patch)
treea8776bc121b4d48ee87e8661279f88e8693882f6
parent485caca5383b2f0ec2f8f312c6f2c12b2e9b2e80 (diff)
downloadostree-3e645ad950c3193d50ac9924ec7eba43c5df4cb5.tar.gz
Drop `OSTREE_BUILT_FEATURES` from introspection
It inherently depends on the individual build, and can't really be an official stable API for introspection users. I've noticed the value of this flip flop when doing local builds. I'm fairly certain no one is trying to use it from a higher level language. It'd probably make sense to even drop from the official C API, but I'm trying to be conservative with that.
-rw-r--r--src/libostree/ostree-version.h.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libostree/ostree-version.h.in b/src/libostree/ostree-version.h.in
index c259b251..7ad07be7 100644
--- a/src/libostree/ostree-version.h.in
+++ b/src/libostree/ostree-version.h.in
@@ -98,4 +98,6 @@
*
* Since: 2019.3
*/
+#ifndef __GI_SCANNER__
#define OSTREE_BUILT_FEATURES "@OSTREE_FEATURES@"
+#endif