---Original Message--- On Thursday, 26 July 2018 at 08:35, [email protected] wrote:
> From: David Seifert <[email protected]> > > * Many upstreams build static libraries by default, as this is > simpler for distribution. Developers can still override this > variable if required. > > Examples: > https://github.com/pezmaster31/bamtools/blob/master/CMakeLists.txt#L64 > --- > eclass/cmake-utils.eclass | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass > index ed81426ddcc..f180c8c3d7d 100644 > --- a/eclass/cmake-utils.eclass > +++ b/eclass/cmake-utils.eclass > @@ -623,6 +623,7 @@ cmake-utils_src_configure() { > if [[ ${EAPI} != [56] ]]; then > cat >> "${common_config}" <<- _EOF_ || die > SET (CMAKE_INSTALL_DOCDIR > "${EPREFIX}/usr/share/doc/${PF}" CACHE PATH "") > + SET (BUILD_SHARED_LIBS ON CACHE BOOLEAN "") > _EOF_ > fi > > -- > 2.18.0 works for me.
