main: DevelBuild=yes to ostree --version for devel builds
And use it in `test-symbols.sh`, to fix the `distcheck` case; the previous change stopped distributing `libostree-devel.sym` in release builds. Closes: #944 Approved by: jlebon
This commit is contained in:
1 parent
6729b7c264
commit
2a082b20b8
3 files changed
+12
-2
No files matched your search
@@ -22,7 +22,11 @@ set -xeuo pipefail
|
||||
echo '1..3'
|
||||
|
||||
released_syms=${G_TEST_SRCDIR}/src/libostree/libostree-released.sym
|
||||
devel_syms=${G_TEST_SRCDIR}/src/libostree/libostree-devel.sym
|
||||
if echo "$OSTREE_FEATURES" | grep --quiet --no-messages "DevelBuild"; then
|
||||
devel_syms=${G_TEST_SRCDIR}/src/libostree/libostree-devel.sym
|
||||
else
|
||||
devel_syms=
|
||||
fi
|
||||
if echo "$OSTREE_FEATURES" | grep --quiet --no-messages "experimental"; then
|
||||
experimental_sym="${G_TEST_SRCDIR}/src/libostree/libostree-experimental.sym"
|
||||
experimental_sections="${G_TEST_SRCDIR}/apidoc/ostree-experimental-sections.txt"
|
||||
|
||||
Reference in new issue
Block a user