vslavik/bakefile — Issue #5: Compile all code linked into a shared library with as PIC
Author: vadz
Created: 2012-02-22 17:53:42+00:00
State: open

Not only should the compiler flags include -fPIC when building a shared library itself under Unix, but we should also ideally add -fPIC when building a static library specified as a dependency (and hence linked into) a shared one.