-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Strange! If I use DEPENDS:=mylib
instead of DEPENDS:=MYPACKAGE_USES_LIBRARY:mylib the opkg dependency works, even without PKG_BUILD_DEPENDS (as Jo-Philipp mentioned). Is that a bug or is there another way to realize a configurable dependency? Cheers, jan Am 06.01.2012 21:43, schrieb Jan Chybiak: > > Hi Jo-Philipp, > > thanks for the reply. Unfortunately that does not work either. The result is the same as with omitting the + sign. > The package gets built but the dependency is not passed on to opkg therefore still installing the package without > the necessary library. > > Further I explicitely have to add PKG_BUILD_DEPENDS to make the build trigger the library build. Omitting > it builds just the package. > > Btw: Having the library dependency in the bool option lets me set the dependency only if the library itself has > been selected, making it therefore unnecessary to add the + sign to DEPENDS. > > Maybe one more point is, that the package is resided in the package directory while the library has been added via feeds/packages. Can that be a problem? > > > > Am 06.01.2012 02:41, schrieb Jo-Philipp Wich: > > Hi. > > > Use "DEPENDS:=+CONFIG_MYPACKAGE_USES_LIBRARY:mylib" (the plus in front). > > That will also make the PKG_BUILD_DEPENDS unnecessary. > > > Adding a plus in front of a dependency spec means your package selects > > the dependant package and it is also propagated as opkg dependency. > > > ~ Jow > > _______________________________________________ > > openwrt-devel mailing list > > openwrt-devel@lists.openwrt.org > > https://lists.openwrt.org/mailman/listinfo/openwrt-devel > -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk8HYjgACgkQh655pvNJE5ASlwCglzS0zVyQDRKxI7OqOsFXCvN5 nM4An3qFd5LsDcutRCm+2FRtkyeOlgmg =Up3s -----END PGP SIGNATURE-----
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel