On Tue, 2010-10-12 at 20:19 +0200, Benjamin Cama wrote: 
> Le mardi 12 octobre 2010 à 19:57 +0200, Michael Büsch a écrit :
> > On Tue, 2010-10-12 at 19:41 +0200, Benjamin Cama wrote: 
> > > * Your openssl added dependency is wrong: it is optionnaly selected when
> > > you enable the SSL module. See Config.in. Is there something wrong with
> > > that that you found ?
> > 
> > It is incorrect to select a package from a Config.in file, because that
> > violates build dependencies. (Build failed for me).
> 
> Mmh, okay, but does it do that after a package/nginx/clean ?

Yeah, it was a clean tree. And that is why it did actually fail.
The openssl package was not built, yet.

> I think that, from what I understand, a PKG_CONFIG_DEPENDS is actually
> needed for this package (on CONFIG_PACKAGE_libopenssl). But how do you
> do the PKG_BUILD_DEPENDS bit when the symbol is in a Config.in ? This is
> why I Cc'ed the list: does someone have an advice on this ?

Probably something like this:

PKG_BUILD_DEPENDS:=CONFIG_NGINX_SSL:CONFIG_PACKAGE_libopenssl

You also most likely need a PKG_CONFIG_DEPENDS on all of your
CONFIG_NGINX_...
flags to ensure that the package is rebuilt if somebody changes those
config options.



-- 
Greetings Michael.

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to