Makefile: explictly link with all shared libraries
linking with libuci means we need to link with libblobmsg_json, libjson-c and libubox. Sinc e we do not use pkg-config or something equivalent, we need to specify all dependencies. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
This commit is contained in:
parent
96d322d594
commit
8e68ab0bb4
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -1,6 +1,6 @@
|
|||
IWINFO_BACKENDS = $(BACKENDS)
|
||||
IWINFO_CFLAGS = $(CFLAGS) -std=gnu99 -fstrict-aliasing -Iinclude
|
||||
IWINFO_LDFLAGS = -luci
|
||||
IWINFO_LDFLAGS = -luci -lblobmsg_json -ljson-c -lubox
|
||||
|
||||
IWINFO_LIB = libiwinfo.so
|
||||
IWINFO_LIB_LDFLAGS = $(LDFLAGS) -shared
|
||||
|
|
Loading…
Add table
Reference in a new issue