...
 
Commits (2)
......@@ -24,6 +24,7 @@ Vcs-Git: https://salsa.debian.org/debian-iot-team/oauth2/hoel.git
Package: libhoel1.4
Architecture: any
Multi-Arch: same
Section: libs
Pre-Depends: ${misc:Pre-Depends}
Depends: ${shlibs:Depends}, ${misc:Depends}
......@@ -34,6 +35,7 @@ Description: database abstraction library written in C
Package: libhoel-dev
Architecture: any
Multi-Arch: same
Section: libdevel
Depends: libhoel1.4 (= ${binary:Version})
, ${misc:Depends}
......
Description: Fix shlibs warning
Author: Nicolas Mora <nicolas@babelouest.org>
Index: hoel-1.4.8/CMakeLists.txt
===================================================================
--- hoel-1.4.8.orig/CMakeLists.txt
+++ hoel-1.4.8/CMakeLists.txt
@@ -76,6 +76,10 @@ set(LIB_SRC
# dependencies
+# pthread libraries
+find_package (Threads)
+set(LIBS ${LIBS} ${CMAKE_THREAD_LIBS_INIT})
+
include(FindJansson)
set(JANSSON_MIN_VERSION 2.4)
find_package(Jansson ${JANSSON_MIN_VERSION} REQUIRED)