Fix singlefilehost build in non-portable mode (#42415)
authorOmair Majid <omajid@redhat.com>
Wed, 23 Sep 2020 14:48:12 +0000 (10:48 -0400)
committerGitHub <noreply@github.com>
Wed, 23 Sep 2020 14:48:12 +0000 (14:48 +0000)
commiteac34237f8ee3e85a42af772fa37671c1dbfee73
tree6178c49fa0f5063193057fe1d8d91898446336b1
parent2734a389fe1a21932456702580b42452e15176d6
Fix singlefilehost build in non-portable mode (#42415)

The singilefilehost needs to follow the libraries build in terms of how
it links to OpenSSL: if it's a non-portable build, the singlefilehost
needs to link to OpenSSL via linker arguments.

The installer also needs to have FEATURE_DISTRO_AGNOSTIC_SSL defined
just like it is defined for the libraries build.

Fixes: #41768
src/installer/corehost/build.sh
src/installer/corehost/cli/apphost/static/CMakeLists.txt