fix: missing -DPROTOBUF_USE_DLLS in pkg-config (#12700)
When the protobuf libraries have been compiled as shared libraries the users of the library need to add `-DPROTOBUF_USE_DLLS` to their build line. Otherwise some symbols are missing.
Fixes #12699
FWIW, I am not sure this is an ideal fix. It may be better to fix the headers such that no macros change the ABI.
Closes #12700
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/12700 from coryan:fix-define-protobuf-use-dlls-in-pkg-config-file 13c792eebd
PiperOrigin-RevId: 530116678
pull/12712/head
parent
da2c4a6ce9
commit
f86008a548
3 changed files with 6 additions and 2 deletions
Loading…
Reference in new issue