Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
proton-c-0.34.0
-
None
-
None
Description
The <proton/version.h> include file generated by the Proton C build embeds the install prefix which is not something that should be exported by one of the installed Proton header files. If an installation needs it then installed pkgconfig or cmake data should be queried. This was noticed because the python bindings package the core Proton C code:
The python packaged prepared during the build embeds the install prefix in the file include/proton/version.h file along with the lib versions.
For example, the package created in the GHA CI build has has:
#define PN_INSTALL_PREFIX "/Users/runner/work/qpid-proton/qpid-proton/INSTALL"
in file python-qpid-proton-0.34.0/include/proton/version.h
^ Raised as requested astitcher