A working guidance for building blender as bpy python module?
This issue should be fixed by commit 0a02c288aa258e18d19eff0be984f214d556b159 

(27.03.2020) 


  "install_deps: Enable PIC in Python static library."


I was discussed here: https://developer.blender.org/D7177 

Also similar question here: 

https://stackoverflow.com/questions/36779834/compiling-blender-bpy-recompile-with-fpic/60903565#60903565