libostree: Link with libgpg-error for gpg_strerror_r API
authorKhem Raj <raj.khem@gmail.com>
Mon, 12 Jun 2023 21:04:44 +0000 (14:04 -0700)
committerKhem Raj <raj.khem@gmail.com>
Wed, 14 Jun 2023 16:39:34 +0000 (09:39 -0700)
commitc3bd439d3e9c8cfad40a8080d35c5d6b29041039
tree5104215eaa3266241168c588bbd452336fa67963
parentc4591c2d285a890c0db3789f9d8e1d727aa174af
libostree: Link with libgpg-error for gpg_strerror_r API

With f461c02bb55bf2853a3b81ed5c8618040ab54e98 use of gpg_strerror_r
was added this symbol comes from libgpg-error however, therefore its
needed to add -lgpg-error to cmdline to resolve this symbol especially
with gold and lld linker. Fixes

aarch64-yoe-linux-ld.lld: error: undefined reference due to --no-allow-shlib-undefined: gpg_strerror_r
>>> referenced by ./.libs/libostree-1.so
configure.ac