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?
> > 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).
> Add a --static flag to libetpan-config.
How will this make dependency unneeded?