- Add '-fPIC' compiler flag to a source file that is shared between both executables and libraries [1]. Reported by: pointyhat [1]