Inhibit building shared libraries Add linker scripts to include PIC static libraries in the link if dynamic linking is desired. This is slightly suboptimal when linking applications, but it is better to err on the side of caution here.