build: Define OSTREE_ENABLE_EXPERIMENTAL_API for g-ir-scanner
authorDan Nicholson <nicholson@endlessm.com>
Mon, 16 Oct 2017 15:51:40 +0000 (15:51 +0000)
committerAtomic Bot <atomic-devel@projectatomic.io>
Fri, 3 Nov 2017 22:05:47 +0000 (22:05 +0000)
commit69c4737491a3cdb484eaa932f2fa5cb2153377f5
treefa1e411b7c147b3f0f4781d401259c8ca7dda58a
parent6ec4cd3eb56edfbc204877862ba51a47672d124c
build: Define OSTREE_ENABLE_EXPERIMENTAL_API for g-ir-scanner

When compiling libostree, OSTREE_ENABLE_EXPERIMENTAL_API is managed via
config.h. However, g-ir-scanner can't use that since it gets confused
about the namespace of all the random macros. It won't include the
experimental APIs unless the macro is defined through another means.
Without this, none of the experimental APIs were being included in the
gir data.

Closes: #1322
Approved by: pwithnall
Makefile-libostree.am