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

Re: conditional dependency?

> > 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).

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply to: