experimental.h: allow building without CMake-generated experimental header#6378
experimental.h: allow building without CMake-generated experimental header#6378csware wants to merge 1 commit into
Conversation
…eader Signed-off-by: Sven Strickroth <[email protected]>
4090d1a to
ffb613f
Compare
|
Definitely we need a solution for this. I think that there's two use cases here:
What we don't want to do is install headers that let people 🤔 I wonder if we can ship I wonder if we can further improve this by getting rid of |
|
Maybe the library needs to be named differently when experimental features are enabled to avoid unintended replacements of the binaries that would result in crashes. |
|
It is. |
|
@csware I implemented what I described above ☝️ - can you try this and let me know if it works for your setup? |
Not all libgit2 users use cmake.
Issue introduced in: #6191
Similar fix for features.h: #4346
Maybe a more generic flag should be introduced.