cgi-io: Find and search for libubus.h
authorFlorian Fainelli <f.fainelli@gmail.com>
Sun, 18 Jun 2017 19:45:30 +0000 (12:45 -0700)
committerFlorian Fainelli <f.fainelli@gmail.com>
Sun, 18 Jun 2017 19:45:30 +0000 (12:45 -0700)
commit7b1588384291ef5f19145010bd0f33e15d221c79
tree1b49c83c786c15cd67518820ec9ee6a0a2601875
parentc298c5f96fbc7238a543ba2e415e8bb5f6e3c5c5
cgi-io: Find and search for libubus.h

Fixes build errors with external toolchains:

[ 33%] Building C object CMakeFiles/cgi-io.dir/main.c.o
/home/florian/dev/openwrt/trunk/build_dir/target-mipsel-unknown-linux-gnu_glibc/cgi-io/main.c:30:21:
fatal error: libubus.h: No such file or directory
 #include <libubus.h>
                     ^
compilation terminated.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Makefile
src/CMakeLists.txt