cortoproject / corto

A hierarchical object store for connecting realtime machine data with web applications, historians & more
https://www.corto.io
MIT License
87 stars 14 forks source link

Add feature to buildsystem to generate libraries that can be embedded in other projects #575

Closed SanderMertens closed 7 years ago

SanderMertens commented 7 years ago

Corto libraries and applications hardcode the path to dependencies for security reasons and to be able to refer to hierarchically organized libraries.

This is however inconvenient when corto libraries need to be embedded in other projects, as libraries are required to be installed to a fixed location, whereas many projects use mechanisms like LD_LIBRARY_PATH to discover libraries.

To make it easier to handle such usecases, the buildsystem shall build two libraries for each project, one is installed to the hierarchical package repository, and another redistributable version is generated that does not link with hardcoded paths, and is installed together with all other redistributable versions.