diff options
author | Dan Nicholson <nicholson@endlessm.com> | 2020-01-20 19:54:00 -0700 |
---|---|---|
committer | Dan Nicholson <nicholson@endlessm.com> | 2020-01-20 20:46:29 -0700 |
commit | 260bcd11938be8fbe49846eff913206e5df4168a (patch) | |
tree | 7946386a88e06507ef507925cc50ab515af52ed7 /Makefile-tests.am | |
parent | fcbb453443c4f22e8621c8593877ab775e5a5884 (diff) | |
download | ostree-260bcd11938be8fbe49846eff913206e5df4168a.tar.gz |
core: Add ostree_commit_get_object_sizes API
This function parses the object listing in the `ostree.sizes` metadata
and returns an array of `OstreeCommitSizesEntry` structures.
Unfortunately, for reasons I don't understand, the linker wants to
resolve `_ostree_read_varuint64` from `ostree-core.c` even though it's
not used by `test-checksum.c` at all.
Diffstat (limited to 'Makefile-tests.am')
-rw-r--r-- | Makefile-tests.am | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile-tests.am b/Makefile-tests.am index fc2f2d91..a4acb8e0 100644 --- a/Makefile-tests.am +++ b/Makefile-tests.am @@ -347,7 +347,10 @@ tests_test_varint_LDADD = $(TESTS_LDADD) tests_test_bsdiff_CFLAGS = $(TESTS_CFLAGS) tests_test_bsdiff_LDADD = libbsdiff.la $(TESTS_LDADD) -tests_test_checksum_SOURCES = src/libostree/ostree-core.c tests/test-checksum.c +tests_test_checksum_SOURCES = \ + src/libostree/ostree-core.c \ + src/libostree/ostree-varint.c \ + tests/test-checksum.c tests_test_checksum_CFLAGS = $(TESTS_CFLAGS) $(libglnx_cflags) tests_test_checksum_LDADD = $(TESTS_LDADD) |