[OpenWrt-Devel] [PATCH] runqueue: Fix the callbacks order in runqueue_task_kill()

2019-06-21 Thread Alban Bedel
if the complete() callback free the task struct. Furthermore runqueue_start_next() is already called at the end of runqueue_task_complete(), so there is no need to call it again in runqueue_task_kill(). Signed-off-by: Alban Bedel --- runqueue.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions

[OpenWrt-Devel] [PATCH] ubus: Support static builds

2019-06-14 Thread Alban Bedel
Extend the cmake config to build and install static libraries when -DBUILD_STATIC=ON is used. Signed-off-by: Alban Bedel --- CMakeLists.txt | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 471b38e..f8ef4aa 100644