swconfig: Link with libubox
authorFlorian Fainelli <f.fainelli@gmail.com>
Sun, 12 Feb 2017 22:10:12 +0000 (14:10 -0800)
committerJo-Philipp Wich <jo@mein.io>
Wed, 13 Dec 2017 13:37:27 +0000 (14:37 +0100)
commitec395eeb172fa7cb5972279915b2ae1477c85582
treeea75954bdfffb33789aaf1acdce0e82e162d7cbd
parentc6dd059a9a00db37c4d32eae1fe10635706bd8fc
swconfig: Link with libubox

Fixes linking failures observed with external toolchains:

/home/florian/dev/toolchains/stbgcc-4.8-1.5/bin/../lib/gcc/mipsel-linux-gnu/4.8.5/../../../../mipsel-linux-gnu/bin/ld:
warning: libubox.so, needed by
/home/florian/dev/openwrt/trunk/staging_dir/target-mipsel-unknown-linux-gnu_glibc/usr/lib/libuci.so,
not found (try using -rpath or -rpath-link)
/home/florian/dev/openwrt/trunk/staging_dir/target-mipsel-unknown-linux-gnu_glibc/usr/lib/libuci.so:
undefined reference to `blobmsg_open_nested'
/home/florian/dev/openwrt/trunk/staging_dir/target-mipsel-unknown-linux-gnu_glibc/usr/lib/libuci.so:
undefined reference to `blobmsg_parse'
/home/florian/dev/openwrt/trunk/staging_dir/target-mipsel-unknown-linux-gnu_glibc/usr/lib/libuci.so:
undefined reference to `blob_nest_end'
/home/florian/dev/openwrt/trunk/staging_dir/target-mipsel-unknown-linux-gnu_glibc/usr/lib/libuci.so:
undefined reference to `blobmsg_add_field'

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
(cherry picked from commit fe8618a8fe0db1bc8f343c0f75082ff96e9991ab)
package/network/config/swconfig/Makefile