Hi Cyril, Thanks for providing a patch.
Am Montag, den 05.01.2009, 19:29 +0100 schrieb Cyril Brulebois: > Cyril Brulebois <[email protected]> (05/01/2009): > > Jelmer, you don't really want to do *that* in debian/rules? > > | ln -s libtdb.so.1.1.3 $(DESTDIR)/usr/lib/libtdb.so.1 > > | ln -s libtdb.so.1 $(DESTDIR)/usr/lib/libtdb.so > > > > What about fixing the build system instead? > > Note that upstream already has “shared-build” which tries to deal with > symlinks, so that might be adapted. I'd advise for producing a proper > Makefile.am, that would then produce a proper Makefile.in, dealing with > the shared objects in an appropriate fashion. If you wish to have a look > at simple examples, I'd advise adl's autotools guide[1]. Page 30 (slides > 116 to 119) of the handout version[2] has all you need (of course, > directories and names have to be adapted, but you should get the idea). shared-build is intended to be used by other libraries/applications that embed tdb (and use it through LD_LIBRARY_PATH), not really for use by packagers, or for anything that's installed. As upstream (samba) we have a policy of using just autoconf+make since none of us seem to like working with automake very much. I'll see about creating those symlinks some other way that doesn't require updating the command in debian/rules each time the version changes... Cheers, Jelmer -- Jelmer Vernooij <[email protected]> - http://samba.org/~jelmer/ Jabber: [email protected]
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

