OK, got it built and I'm pleased that ldd on the executables and modules reports nothing about qpid, proton and boost and I have a nice set of libqpid*.a files available for static linking. What I had to do was expand all the -lqpid-proton to /path/to/lib/libqpid-proton.a in all the link.txt files.
So after running cmake and before running make, I run: PROTON_LIB=$(pkg-config --libs-only-L libqpid-proton | sed -e 's|^-L||' -e 's|\s*$|/libqpid-proton.a|') find -type f -name link.txt | xargs perl -pi -e "s|-lqpid-proton|$PROTON_LIB|g" All those times the build would have used -lqpid-python it now just has the path directly to the .a file. I wish I knew more about the build process to (suggest how) fix this properly.
