nasa / bplib

Apache License 2.0
30 stars 13 forks source link

Need to compile submodules as position independent code for shared lib use #134

Closed jphickey closed 2 years ago

jphickey commented 2 years ago

When building for CFE, everything needs to be built as position independent code (PIC) for inclusion in a shared library (.so) file.

Currently, the submodules (mpool, cache, v7) are getting compiled without this setting and is therefore unable to link.