Add a PACKAGECONFIG option to produce shared libraries. Allow staticdev to be empty if no static libraries are built. Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>