rssileds: add dependencies based on LDFLAGS

This adds the direct dependencies introduced by TARGET_LDFLAGS
to the package's DEPENDS variable.

This was found by accidentally building rssileds on octeon, which
resulted in:

"Package rssileds is missing dependencies for the following libraries:
libnl-tiny.so"

Though the dependencies are provided when building for the
relevant targets ar71xx, ath79 and ramips, it seems more tidy to
specify them explicitly.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
Adrian Schmutzler 2020-02-20 18:38:04 +01:00
parent aa9c2149a7
commit a5b2c6f5ed

View File

@ -18,7 +18,7 @@ define Package/rssileds
SECTION:=net SECTION:=net
CATEGORY:=Network CATEGORY:=Network
TITLE:=RSSI real-time LED indicator TITLE:=RSSI real-time LED indicator
DEPENDS:=+libiwinfo DEPENDS:=+libiwinfo +libnl-tiny +libubox +libuci
MAINTAINER:=Daniel Golle <dgolle@allnet.de> MAINTAINER:=Daniel Golle <dgolle@allnet.de>
endef endef