-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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/ iEYEARECAAYFAk8HXOUACgkQh655pvNJE5BZvQCglOZVe/diT6ogdz2jaWG32u8+ YVUAn10bgLsIjkxtCFKmi2mmOtkN9T9A =4GoK -----END PGP SIGNATURE-----
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel