waf: Add possibility to build with system libwbclient/libsmbclient
Volker.Lendecke at SerNet.DE
Wed Apr 18 06:36:39 MDT 2012
On Wed, Apr 18, 2012 at 02:19:26PM +0200, Stefan (metze) Metzmacher wrote:
> Am 18.04.2012 13:26, schrieb Andreas Schneider:
> > Assume Samba4 has been released and we have a security
> > problem in libsmbclient and fix it and release it. The
> > version was 0.1.0 and it will be 0.1.1.
> > We will end up with a vscript which only exports version
> > SMBCLIENT_0.1.1 and everything which links against
> > version 0.1.0 will not work anymore cause the symbols
> > are not there.
> > It will look for smbc_init_context@@SMBCLIENT_0.1.0 and
> > will not find it. What we have now is
> > smbc_init_context@@SMBCLIENT_0.1.1. Cause you don't
> > export the symbols from the previous version.
> That doesn't happen because waf figures out the version
> the symbol was introduced by looking at the commited ABI
> files. So smbc_init_context@@SMBCLIENT_0.1.0 will stay
> even if the version is 0.1.1.
Did I mention this is non-obvious enough for me not to like
it? Crap, I did ... :-)
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de
More information about the samba-technical