reverbrain/elliptics

Build without examples

noxiouz opened this issue · 2 comments

Seems WITH_EXAMPLES flag doesn't make sense, as libelliptics.so can NOT be linked without patching ld.so.conf and rebuilding boost turrning this flag on:

Linking CXX shared library libelliptics.so
/usr/bin/ld: cannot find -lelliptics_common
collect2: ld returned 1 exit status

I'm not a real welder, but that's because libelliptics_common is added only in example/CMakeLists.txt
Is it on purpose?

I've dropped WITH_EXAMPLES config option, although it was always on.
I'm not sure why can't you build libelliptics, it includes libelliptics_common as well as bunch of other libs, but it should be correctly handled by cmake

Looks like it is resolved now