Re: public extension linked with libpython* vs. -Wl,-no-undefined
On Mon, Mar 17, 2014 at 3:49 PM, Nico Schlömer <nico.schloemer@gmail.com> wrote:
> $ readelf -d /path/to/_ML.so
> [...]
> 0x0000000000000001 (NEEDED) Shared library: [libpython2.7.so.1.0]
> [...]
>
> but when I don't, builds with "-Wl,-no-undefined" will fail.
Well then do not use "-Wl,-no-undefined". You are building a python
*module*, not a *shared lib* (SONAME is set) where all symbols needs
to get resolved (as per Debian policy).
2cts
Reply to: