- Convert to new LIB_DEPENDS format
- Fix build with clang (no longer depends on GCC)
- Statically link against own library libcommon.a, to avoid
installing a library with such a generic name as libcommon.so
PR: 183474 [1]
Submitted by: Pierre Smars <smars@yuntech.edu.tw> [1]