Closed ZeroChaos- closed 2 years ago
For whatever reason, gentoo builds everything with -DBUILD_SHARED_LIBS=ON, and this fixes building with that parameter. It may not be enough if at some point trunk-recorder wants to actually be a shared library, but for now it seems to work correctly.
cmake -DBUILD_SHARED_LIBS=ON
fails but building static works. I'm not an expert, but I'm guessing something gets stripped out of libgit.so which isn't stripped out when it's libgit.a