[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: conditional dependency?



On Mon, Feb 25, 2008 at 11:48:21PM +0300, Nikita V. Youshchenko wrote:
> > > While it is easy for build-dependency (just use libcurl4-gnutls-dev |
> > > libcurl3-gnutls-dev), I see a problem here with libdev package
> > > dependency. It should depend not on libcurl4-gnutls-dev |
> > > libcurl3-gnutls-dev, but on exact one that was actually used when
> > > building package.
> > >
> > > How to handle this properly?
> >
> > Just trim -lcurl from libetpan-config's output and remove the dependency
> > altogether.
> >
> > Obviously, don't do this if libetpan's reverse deps *need* to build with
> > -lcurl (which is unlikely)
> 
> And what if somebody will try to link statically?

Playing devil's advocate:
Why would we want to support static linking, when dynamic linking works
perfectly well?

> Although not very probably, until now Debian used to support static linking 
> (libdev packages provide .a files, and depend on libdev packages that 
> provide dependent .a files).

I stopped providing static libraries in all my library packages quite a
while back.  No one used them, and they were just needless bloat.  I
can't say I would be upset if we dropped all the static libraries from
the entire archive--is there actually a real world requirement for them
in 2008?


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.


Reply to: