-
Notifications
You must be signed in to change notification settings - Fork 24
Closed
Description
When CMake BUILD_SHARED_LIBS=ON is set (e.g. Gentoo Linux CMake default), the current build will:
- Build new DFU
file_parserslibrary as shared - Install only
blispbinary without the also requiredfile_parsersDSO
Therefore, the binary is not usable.
With BUILD_SHARED_LIBS=OFF (regular default e.g. for manual builds), no error to be noticed.
Reason is that blisp/src/file_parsers/CMakeLists.txt does not declare any library type (https://cmake.org/cmake/help/latest/variable/BUILD_SHARED_LIBS.html).
- Either, in case of shared library which is intended to be used also as public export, the built/needed DSO (plus possible public header files) would need to be installed.
- Or, more along the likely intention of f1b93a1: This internal library should be always built explicitly as
STATIC.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels