summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2020-01-16 12:11:36 -0800
committerMatt Ranostay <matt.ranostay@konsulko.com>2020-01-16 20:48:38 +0000
commit893296cc58fd7e2295de2259bcfd8e8c7cea8c31 (patch)
tree10548afd35424b024345b05c19323f4f7b7d3498
parentb7388d3adaa6b3fdee442f6b4f5ea54de89e932d (diff)
HVAC binding requires several libm functions and failure to link causes the following runtime failure. libafm-hvac-binding.so: undefined symbol: round [afb-api-so.c:83,load_binding] Bug-AGL: SPEC-2984 Change-Id: I963fd60d81d0ed6499ae6e4712e27070ce90959c Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
-rw-r--r--binding/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/binding/CMakeLists.txt b/binding/CMakeLists.txt
index 96de16d..d452411 100644
--- a/binding/CMakeLists.txt
+++ b/binding/CMakeLists.txt
@@ -32,4 +32,4 @@ PROJECT_TARGET_ADD(afm-hvac-binding)
)
# Library dependencies (include updates automatically)
- TARGET_LINK_LIBRARIES(${TARGET_NAME} ${link_libraries})
+ TARGET_LINK_LIBRARIES(${TARGET_NAME} ${link_libraries} m)