-----BEGIN PGP SIGNED MESSAGE-----


> ld -shared -L/home/vpopmail/include -lvpopmail -lcrypt \
> vpopmailpython.o vpopmailpython_wrap.o -o vpopmail.so


> How can I get ld to build something as shared library but still
> link libvpopmail.a "statically" into it? I think ld thinks it can
> ignore
> all undefined symbols when using -shared cause those will be fixed
> at runtime which  isn't true in the case of libvpopmail as it is
> only an archive, not a shared object...

I just figured I need to add --undefined=vadddomain to get
libvpopmail
into it and it's working.

I'll test this a bit and if it works like it should, I'll contribute
it to vpopmail (or make it available else where).
�

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5i

iQEVAwUBO4tf58Za2WpymlDxAQEKIQf+LxWsr9NeFhQEl0xvTwmKAcmvi5dO+7Xo
DQpppHha09kpxf9XJSfZzuHruzyWtzuVOXpFWdWj4LKI4xiC3+ryph0tzoLz64Y4
yOi2xNOPeAM8X1hk6SYygSb8lKBHjjxQoO25cpgsdQ7HwRARJ9EaREbejvqo1QAI
x/Y3HYYMizrBVOgIoilzNqzcAGYjY9Zg0PolPRbvrJH7T5fZ0IBF1WQiWsh7r+OK
HNr3+Eeq+3RdU3XpDec0leG9g9Gw7Q00EvTvnA2g9+BmnSsBKNhEM/VPbX+bZ57G
aR5NrxKGFuKTgVdOkualvboGsoN8iuoKccmIj9XGI5GiAgCcL/LFwg==
=oP7r
-----END PGP SIGNATURE-----

Reply via email to