libotutil: Link to crypto libs
authorAlexander Larsson <alexl@redhat.com>
Fri, 7 Jul 2023 18:19:59 +0000 (20:19 +0200)
committerAlexander Larsson <alexl@redhat.com>
Fri, 7 Jul 2023 18:19:59 +0000 (20:19 +0200)
commit744967a6e4118ddb3b70ba30623e639fde1a77f9
treecd8bca99898cf327c7cd81dd951a5ae1be6ff4e3
parent474c2b100bd31aac00cb3e2bfec4a5591c4c626d
libotutil: Link to crypto libs

The checksum utils uses the crypto lib, but we're not explicitly linking
to it. I think this is why the CI got this error when using openssl
on debian, during ostree binary linking:

/usr/bin/ld: ./.libs/libotutil.a(libotutil_la-ot-checksum-utils.o): undefined reference to symbol 'EVP_DigestInit_ex@@OPENSSL_3.0.0'
/usr/bin/ld: /lib/x86_64-linux-gnu/libcrypto.so.3: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile-otutil.am