dey-examples-cloudconnector: adapt recipe and makefiles to use static library
https://jira.digi.com/browse/DEL-3523 Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
parent
30162ca76c
commit
5d8ea7aa35
|
|
@ -9,6 +9,8 @@ SRC_URI = "file://cloudconnector_test"
|
|||
|
||||
S = "${WORKDIR}/cloudconnector_test"
|
||||
|
||||
inherit pkgconfig
|
||||
|
||||
do_install() {
|
||||
oe_runmake DESTDIR=${D} install
|
||||
}
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ PROGRAM := device_request_listener
|
|||
CFLAGS += -Wall
|
||||
|
||||
CFLAGS += $(shell pkg-config --cflags cloudconnector)
|
||||
LDLIBS += $(shell pkg-config --libs cloudconnector)
|
||||
LDLIBS += $(shell pkg-config --libs --static cloudconnector)
|
||||
|
||||
all: $(PROGRAM)
|
||||
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ PROGRAM := upload_data_points
|
|||
CFLAGS += -Wall
|
||||
|
||||
CFLAGS += $(shell pkg-config --cflags cloudconnector)
|
||||
LDLIBS += $(shell pkg-config --libs cloudconnector)
|
||||
LDLIBS += $(shell pkg-config --libs --static cloudconnector)
|
||||
|
||||
all: $(PROGRAM)
|
||||
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ PROGRAM := upload_file
|
|||
CFLAGS += -Wall
|
||||
|
||||
CFLAGS += $(shell pkg-config --cflags cloudconnector)
|
||||
LDLIBS += $(shell pkg-config --libs cloudconnector)
|
||||
LDLIBS += $(shell pkg-config --libs --static cloudconnector)
|
||||
|
||||
all: $(PROGRAM)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue